mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 10:29:37 +00:00
net/ibmvnic: Fix missing { in __ibmvnic_reset
Commit1c2977c094
("net/ibmvnic: free reset work of removed device from queue") adds a } without corresponding { causing build break. Fixes:1c2977c094
("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>
This commit is contained in:
parent
28abe57962
commit
c8dc55956b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue