]> git.karo-electronics.de Git - linux-beck.git/commitdiff
bsg: style cleanup
authorJens Axboe <jens.axboe@oracle.com>
Wed, 20 Dec 2006 10:25:23 +0000 (11:25 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 16 Jul 2007 06:52:45 +0000 (08:52 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/bsg.c

index 9dc5d36a52e5700ff807f6a27d0d931e9231abe8..6f05a397dc3a1b9fe78713ffabe675526dd21170 100644 (file)
@@ -963,8 +963,8 @@ bsg_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
 
                if (copy_to_user(uarg, &hdr, sizeof(hdr)))
                        return -EFAULT;
-               else
-                       return 0;
+
+               return 0;
        }
        /*
         * block device ioctls