[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <980e56c9dd86f2f94ea1f33d8b6cb27fe10ca436.1546235049.git.fthain@telegraphics.com.au>
Date: Mon, 31 Dec 2018 16:44:09 +1100
From: Finn Thain <fthain@...egraphics.com.au>
To: Jens Axboe <axboe@...nel.dk>
Cc: linux-m68k@...ts.linux-m68k.org, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] block/amiflop: Don't log error message on invalid ioctl
Cc: linux-m68k@...ts.linux-m68k.org
Signed-off-by: Finn Thain <fthain@...egraphics.com.au>
---
drivers/block/amiflop.c | 2 --
1 file changed, 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;
--
2.19.2
Powered by blists - more mailing lists