bsg: remove #if 0'ed code
authorChristoph Hellwig <hch@lst.de>
Tue, 29 Aug 2017 16:48:38 +0000 (18:48 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 29 Aug 2017 16:50:30 +0000 (10:50 -0600)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bsg.c

index 37663b664666fbeeeeac6ffd048231b3a8cac918..ee1335c68de7fe2f09878553535b3c6e9f5b3223 100644 (file)
@@ -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
        }
 }