summaryrefslogtreecommitdiffstats
path: root/drivers/block/amiflop.c
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2018-12-31 06:44:09 +0100
committerJens Axboe <axboe@kernel.dk>2018-12-31 18:19:11 +0100
commitd4d179c37c74dd18684d3b197fb16642a39e27ee (patch)
tree6f82713560049fe1a8e9cd3f02262d42b131bd72 /drivers/block/amiflop.c
parentgdrom: fix a memory leak bug (diff)
downloadlinux-d4d179c37c74dd18684d3b197fb16642a39e27ee.tar.xz
linux-d4d179c37c74dd18684d3b197fb16642a39e27ee.zip
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/amiflop.c')
-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;