bsg: remove #if 0'ed code
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
7de967e76f
commit
c529594f93
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue