projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54d822a
)
compat_blkdev_driver_ioctl: Remove unused variable warning
author
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 23 Oct 2008 17:28:25 +0000
(10:28 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 23 Oct 2008 17:28:25 +0000
(10:28 -0700)
Variable 'ret' is no longer used. Don't declare it.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
block/compat_ioctl.c
patch
|
blob
|
history
diff --git
a/block/compat_ioctl.c
b/block/compat_ioctl.c
index 3098c92402fd3b76c240b768d71e6394e85cb01f..3d3e7a46f38c43319a2fcbed71e99a5da9af8e68 100644
(file)
--- a/
block/compat_ioctl.c
+++ b/
block/compat_ioctl.c
@@
-582,8
+582,6
@@
static int compat_blk_trace_setup(struct block_device *bdev, char __user *arg)
static int compat_blkdev_driver_ioctl(struct block_device *bdev, fmode_t mode,
unsigned cmd, unsigned long arg)
{
- int ret;
-
switch (cmd) {
case HDIO_GET_UNMASKINTR:
case HDIO_GET_MULTCOUNT: