summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-08-29 18:48:38 +0200
committerJens Axboe <axboe@kernel.dk>2017-08-29 10:50:30 -0600
commitc529594f93ae64de2a84e7fff903ae6844664912 (patch)
tree9e837b1b590b190498126770472c6f4a0f994c39 /block
parent7de967e76fce652f9e8f3594c97ae132e3a0833a (diff)
downloadop-kernel-dev-c529594f93ae64de2a84e7fff903ae6844664912.zip
op-kernel-dev-c529594f93ae64de2a84e7fff903ae6844664912.tar.gz
bsg: remove #if 0'ed code
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/bsg.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/block/bsg.c b/block/bsg.c
index 37663b6..ee1335c 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)
return ret;
}
- /*
- * block device ioctls
- */
default:
-#if 0
- return ioctl_by_bdev(bd->bdev, cmd, arg);
-#else
return -ENOTTY;
-#endif
}
}
OpenPOWER on IntegriCloud