summaryrefslogtreecommitdiffstats
path: root/block/bsg.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2006-12-20 11:25:23 +0100
committerJens Axboe <jens.axboe@oracle.com>2007-07-16 08:52:45 +0200
commitb711afa6959e5c8f457f1687b5d4a485c7974f32 (patch)
tree296c36a94b7077e3dab3d7e788a2851e0cbc3bf0 /block/bsg.c
parentbsg: use u32 etc instead of uint32_t (diff)
downloadlinux-b711afa6959e5c8f457f1687b5d4a485c7974f32.tar.xz
linux-b711afa6959e5c8f457f1687b5d4a485c7974f32.zip
bsg: style cleanup
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/bsg.c')
-rw-r--r--block/bsg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/bsg.c b/block/bsg.c
index 9dc5d36a52e5..6f05a397dc3a 100644
--- a/block/bsg.c
+++ b/block/bsg.c
@@ -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