Skip to content

Commit

Permalink
s390/dasd: remove debug printk
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiko Carstens committed Jul 27, 2021
1 parent 7f33565 commit 1487f59
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/s390/block/dasd_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1487f59

Please sign in to comment.