From: Christoph Hellwig Date: Tue, 29 Aug 2017 16:48:38 +0000 (+0200) Subject: bsg: remove #if 0'ed code X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c529594f93ae64de2a84e7fff903ae6844664912;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git bsg: remove #if 0'ed code Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe --- 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) return ret; } - /* - * block device ioctls - */ default: -#if 0 - return ioctl_by_bdev(bd->bdev, cmd, arg); -#else return -ENOTTY; -#endif } }