]> git.dujemihanovic.xyz Git - linux.git/commitdiff
s390/dasd: remove debug printk
authorHeiko Carstens <hca@linux.ibm.com>
Tue, 13 Jul 2021 19:07:47 +0000 (21:07 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 27 Jul 2021 07:39:14 +0000 (09:39 +0200)
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>
drivers/s390/block/dasd_ioctl.c

index 9f64244089465537b8ab127f5d3d866c7d699a13..468cbeb539ff05c9fff3d9647fae01b782dd3230 100644 (file)
@@ -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)