Staging:dgnc: Fixed else not following close brace error
authorIulia Manda <iulia.manda21@gmail.com>
Mon, 10 Mar 2014 22:08:06 +0000 (00:08 +0200)
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Tue, 11 Mar 2014 05:58:02 +0000 (22:58 -0700)
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>
drivers/staging/dgnc/dgnc_mgmt.c

index 1c5ab3d007b00e126348cf0b3cace1b250b9a81f..d66517d603a5823a2933604243fedabd30a3bb11 100644 (file)
@@ -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;
        }