summaryrefslogtreecommitdiff
path: root/block/bsg.c
diff options
context:
space:
mode:
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