]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Unsupported ioctls should not print log, just return -EOPNOTSUPP
authorVMware, Inc <>
Wed, 24 Feb 2010 21:06:28 +0000 (13:06 -0800)
committerMarcelo Vanzin <mvanzin@vmware.com>
Wed, 24 Feb 2010 21:06:28 +0000 (13:06 -0800)
Remove printk's from unsupported ioctls. http://sourceforge.net/tracker/?func=detail&aid=1959582&group_id=204462&atid=989708

Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/modules/linux/vmxnet/vmxnet.c

index 5ac843079cb7615847bda747e5de1e3261e66599..3c70bc1fc87434e16d1407555bb41ba30cd6af89 100644 (file)
@@ -713,7 +713,6 @@ vmxnet_ethtool_ioctl(struct net_device *dev, struct ifreq *ifr)
          return vmxnet_set_tso(dev, ifr->ifr_data);
 #endif
       default:
-         printk(KERN_DEBUG" ethtool operation %d not supported\n", cmd);
          return -EOPNOTSUPP;
    }
 }
@@ -746,7 +745,6 @@ vmxnet_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
          return vmxnet_ethtool_ioctl(dev, ifr);
 #endif
    }
-   printk(KERN_DEBUG" ioctl operation %d not supported\n", cmd);
    return -EOPNOTSUPP;
 }
 #endif /* SET_ETHTOOL_OPS */