From: Iulia Manda Date: Mon, 10 Mar 2014 22:08:06 +0000 (+0200) Subject: Staging:dgnc: Fixed else not following close brace error X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1c1dd2a06d9ce42007a499745f4b1cc2468f2bc9;p=linux-beck.git Staging:dgnc: Fixed else not following close brace error Fix checkpatch.pl warning - else should follow close brace. Signed-off-by: Iulia Manda Acked-by: Paul E. McKenney Signed-off-by: Peter P Waskiewicz Jr --- 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; }