diff mbox series

block/amiflop: Don't log error message on invalid ioctl

Message ID 980e56c9dd86f2f94ea1f33d8b6cb27fe10ca436.1546235049.git.fthain@telegraphics.com.au (mailing list archive)
State New, archived
Headers show
Series block/amiflop: Don't log error message on invalid ioctl | expand

Commit Message

Finn Thain Dec. 31, 2018, 5:44 a.m. UTC
Cc: linux-m68k@lists.linux-m68k.org
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
---
 drivers/block/amiflop.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Jens Axboe Dec. 31, 2018, 5:20 p.m. UTC | #1
On 12/30/18 10:44 PM, Finn Thain wrote:
> Cc: linux-m68k@lists.linux-m68k.org
> Signed-off-by: Finn Thain <fthain@telegraphics.com.au>

Applied, thanks.
diff mbox series

Patch

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;