net/ibmvnic: Fix missing { in __ibmvnic_reset
authorMichal Suchanek <msuchanek@suse.de>
Mon, 9 Sep 2019 20:44:51 +0000 (22:44 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Sep 2019 07:44:49 +0000 (08:44 +0100)
Commit 1c2977c09499 ("net/ibmvnic: free reset work of removed device from queue")
adds a } without corresponding { causing build break.

Fixes: 1c2977c09499 ("net/ibmvnic: free reset work of removed device from queue")
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Reviewed-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Reviewed-by: Juliet Kim <julietk@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c

index 6644cabc8e756b31d881b367298786dd687d3431..5cb55ea671e3535ba1e23099f2b722a18f91b2af 100644 (file)
@@ -1984,7 +1984,7 @@ static void __ibmvnic_reset(struct work_struct *work)
        rwi = get_next_rwi(adapter);
        while (rwi) {
                if (adapter->state == VNIC_REMOVING ||
-                   adapter->state == VNIC_REMOVED)
+                   adapter->state == VNIC_REMOVED) {
                        kfree(rwi);
                        rc = EBUSY;
                        break;