mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 05:41:55 +00:00
Staging:dgnc: Fixed else not following close brace error
Fix checkpatch.pl warning - else should follow close brace. Signed-off-by: Iulia Manda <iulia.manda21@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
This commit is contained in:
parent
09adb6e7b5
commit
1c1dd2a06d
@ -77,8 +77,7 @@ int dgnc_mgmt_open(struct inode *inode, struct file *file)
|
|||||||
return -EBUSY;
|
return -EBUSY;
|
||||||
}
|
}
|
||||||
dgnc_mgmt_in_use[minor]++;
|
dgnc_mgmt_in_use[minor]++;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
DGNC_UNLOCK(dgnc_global_lock, lock_flags);
|
DGNC_UNLOCK(dgnc_global_lock, lock_flags);
|
||||||
return -ENXIO;
|
return -ENXIO;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user