diff options
Diffstat (limited to 'drivers/staging/dgnc')
-rw-r--r-- | drivers/staging/dgnc/dgnc_mgmt.c | 3 |
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; } |