aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/dgnc
diff options
context:
space:
mode:
authorIulia Manda <iulia.manda21@gmail.com>2014-03-11 00:08:06 +0200
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>2014-03-10 22:58:02 -0700
commit1c1dd2a06d9ce42007a499745f4b1cc2468f2bc9 (patch)
treeead0d1eaeba985a64514a508f855518038a1b22f /drivers/staging/dgnc
parent09adb6e7b520991992362ccb26f92af889a117e2 (diff)
downloadlinux-stericsson-1c1dd2a06d9ce42007a499745f4b1cc2468f2bc9.tar.gz
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>
Diffstat (limited to 'drivers/staging/dgnc')
-rw-r--r--drivers/staging/dgnc/dgnc_mgmt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/dgnc/dgnc_mgmt.c b/drivers/staging/dgnc/dgnc_mgmt.c
index 1c5ab3d007b0..d66517d603a5 100644
--- a/drivers/staging/dgnc/dgnc_mgmt.c
+++ b/drivers/staging/dgnc/dgnc_mgmt.c
@@ -77,8 +77,7 @@ int dgnc_mgmt_open(struct inode *inode, struct file *file)
return -EBUSY;
}
dgnc_mgmt_in_use[minor]++;
- }
- else {
+ } else {
DGNC_UNLOCK(dgnc_global_lock, lock_flags);
return -ENXIO;
}