Commit 1c1dd2a0 authored by Iulia Manda's avatar Iulia Manda Committed by Peter P Waskiewicz Jr

Staging:dgnc: Fixed else not following close brace error

Fix checkpatch.pl warning - else should follow close brace.
Signed-off-by: default avatarIulia Manda <iulia.manda21@gmail.com>
Acked-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: default avatarPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
parent 09adb6e7
...@@ -77,8 +77,7 @@ int dgnc_mgmt_open(struct inode *inode, struct file *file) ...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment