summaryrefslogtreecommitdiffstats
path: root/drivers/vhost
diff options
context:
space:
mode:
authorLiming Wu <liming.wu@jaguarmicro.com>2023-01-05 08:03:56 +0100
committerMichael S. Tsirkin <mst@redhat.com>2023-02-21 01:26:58 +0100
commit62b763ad765319b1e2261aeef5e5fcbd821883bd (patch)
tree14e9c30327b486e2e0b032f33ab2b067a995267e /drivers/vhost
parentvdpa_sim: get rid of DMA ops (diff)
downloadlinux-62b763ad765319b1e2261aeef5e5fcbd821883bd.tar.xz
linux-62b763ad765319b1e2261aeef5e5fcbd821883bd.zip
vhost-test: remove meaningless debug info
remove printk as it is meaningless. Signed-off-by: Liming Wu <liming.wu@jaguarmicro.com> Message-Id: <20230105070357.274-1-liming.wu@jaguarmicro.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'drivers/vhost')
-rw-r--r--drivers/vhost/test.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/vhost/test.c b/drivers/vhost/test.c
index bc8e7fb1e635..42c955a5b211 100644
--- a/drivers/vhost/test.c
+++ b/drivers/vhost/test.c
@@ -333,13 +333,10 @@ static long vhost_test_ioctl(struct file *f, unsigned int ioctl,
return -EFAULT;
return 0;
case VHOST_SET_FEATURES:
- printk(KERN_ERR "1\n");
if (copy_from_user(&features, featurep, sizeof features))
return -EFAULT;
- printk(KERN_ERR "2\n");
if (features & ~VHOST_FEATURES)
return -EOPNOTSUPP;
- printk(KERN_ERR "3\n");
return vhost_test_set_features(n, features);
case VHOST_RESET_OWNER:
return vhost_test_reset_owner(n);