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; }