projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7de967e
)
bsg: remove #if 0'ed code
author
Christoph Hellwig
<hch@lst.de>
Tue, 29 Aug 2017 16:48:38 +0000
(18:48 +0200)
committer
Jens 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
patch
|
blob
|
blame
|
history
diff --git
a/block/bsg.c
b/block/bsg.c
index 37663b664666fbeeeeac6ffd048231b3a8cac918..ee1335c68de7fe2f09878553535b3c6e9f5b3223 100644
(file)
--- 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
}
}