|
@@ -487,8 +487,7 @@ static int ax88772_bind(struct usbnet *dev, struct usb_interface *intf)
|
|
|
|
|
|
static void ax88772_unbind(struct usbnet *dev, struct usb_interface *intf)
|
|
static void ax88772_unbind(struct usbnet *dev, struct usb_interface *intf)
|
|
{
|
|
{
|
|
- if (dev->driver_priv)
|
|
|
|
- kfree(dev->driver_priv);
|
|
|
|
|
|
+ kfree(dev->driver_priv);
|
|
}
|
|
}
|
|
|
|
|
|
static const struct ethtool_ops ax88178_ethtool_ops = {
|
|
static const struct ethtool_ops ax88178_ethtool_ops = {
|