summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2018-12-31 08:44:09 +0300
committerJens Axboe <axboe@kernel.dk>2018-12-31 20:19:11 +0300
commitd4d179c37c74dd18684d3b197fb16642a39e27ee (patch)
tree6f82713560049fe1a8e9cd3f02262d42b131bd72 /drivers/block
parent093c48213ee37c3c3ff1cf5ac1aa2a9d8bc66017 (diff)
downloadlinux-d4d179c37c74dd18684d3b197fb16642a39e27ee.tar.xz
block/amiflop: Don't log error message on invalid ioctl
Cc: linux-m68k@lists.linux-m68k.org Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/amiflop.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/block/amiflop.c b/drivers/block/amiflop.c
index bf996bd44cfc..0903e0803ec8 100644
--- a/drivers/block/amiflop.c
+++ b/drivers/block/amiflop.c
@@ -1601,8 +1601,6 @@ static int fd_locked_ioctl(struct block_device *bdev, fmode_t mode,
return p->type->read_size;
#endif
default:
- printk(KERN_DEBUG "fd_ioctl: unknown cmd %d for drive %d.",
- cmd, drive);
return -ENOSYS;
}
return 0;