diff options
author | Christoph Hellwig <hch@lst.de> | 2017-08-29 12:48:38 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-08-29 12:50:30 -0400 |
commit | c529594f93ae64de2a84e7fff903ae6844664912 (patch) | |
tree | 9e837b1b590b190498126770472c6f4a0f994c39 | |
parent | 7de967e76fce652f9e8f3594c97ae132e3a0833a (diff) |
bsg: remove #if 0'ed code
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | block/bsg.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/block/bsg.c b/block/bsg.c index 37663b664666..ee1335c68de7 100644 --- a/block/bsg.c +++ b/block/bsg.c | |||
@@ -932,15 +932,8 @@ static long bsg_ioctl(struct file *file, unsigned int cmd, unsigned long arg) | |||
932 | 932 | ||
933 | return ret; | 933 | return ret; |
934 | } | 934 | } |
935 | /* | ||
936 | * block device ioctls | ||
937 | */ | ||
938 | default: | 935 | default: |
939 | #if 0 | ||
940 | return ioctl_by_bdev(bd->bdev, cmd, arg); | ||
941 | #else | ||
942 | return -ENOTTY; | 936 | return -ENOTTY; |
943 | #endif | ||
944 | } | 937 | } |
945 | } | 938 | } |
946 | 939 | ||