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

Cc: [email protected]
Signed-off-by: Finn Thain <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
Finn Thain 2018-12-31 16:44:09 +11:00 • committed by Jens Axboe
commit d4d179c37c

View file

@ -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;