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>
This commit is contained in:
parent
093c48213e
commit
d4d179c37c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user