From c529594f93ae64de2a84e7fff903ae6844664912 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Tue, 29 Aug 2017 18:48:38 +0200 Subject: bsg: remove #if 0'ed code Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe --- block/bsg.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'block') 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 } } -- cgit v1.1