diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2021-07-13 21:07:47 +0200 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2021-07-27 09:39:14 +0200 |
commit | 1487f59ad2a5bb0cef0ea63d18625fab3fd074a1 (patch) | |
tree | c35b6685234d36730d3abcc2739bdaa99fde7c20 /drivers/s390/block/dasd_ioctl.c | |
parent | s390/uv: de-duplicate checks for Protected Host Virtualization (diff) | |
download | linux-1487f59ad2a5bb0cef0ea63d18625fab3fd074a1.tar.xz linux-1487f59ad2a5bb0cef0ea63d18625fab3fd074a1.zip |
s390/dasd: remove debug printk
Remove dasd ioctl debug printk which seems to be a leftover from the
very early days. At least it seems to be quite pointless.
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'drivers/s390/block/dasd_ioctl.c')
-rw-r--r-- | drivers/s390/block/dasd_ioctl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/s390/block/dasd_ioctl.c b/drivers/s390/block/dasd_ioctl.c index 9f6424408946..468cbeb539ff 100644 --- a/drivers/s390/block/dasd_ioctl.c +++ b/drivers/s390/block/dasd_ioctl.c @@ -575,10 +575,8 @@ int dasd_ioctl(struct block_device *bdev, fmode_t mode, else argp = (void __user *)arg; - if ((_IOC_DIR(cmd) != _IOC_NONE) && !arg) { - PRINT_DEBUG("empty data ptr"); + if ((_IOC_DIR(cmd) != _IOC_NONE) && !arg) return -EINVAL; - } base = dasd_device_from_gendisk(bdev->bd_disk); if (!base) |