From 7f90417bb9c7f4638f87d75a24a22afc7cebc100 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 27 Aug 2014 13:03:29 +0200 Subject: [PATCH] Staging: bcm: Bcmnet.c: Renamed variable: "IntfAdapter" -> "intf_ad" Signed-off-by: Matthias Beyer Signed-off-by: Greg Kroah-Hartman --- drivers/staging/bcm/Bcmnet.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/bcm/Bcmnet.c b/drivers/staging/bcm/Bcmnet.c index 800c1ef58a0b..e57767684cee 100644 --- a/drivers/staging/bcm/Bcmnet.c +++ b/drivers/staging/bcm/Bcmnet.c @@ -187,9 +187,9 @@ static const struct ethtool_ops bcm_ethtool_ops = { int register_networkdev(struct bcm_mini_adapter *ad) { struct net_device *net = ad->dev; - struct bcm_interface_adapter *IntfAdapter = ad->pvInterfaceAdapter; - struct usb_interface *udev = IntfAdapter->interface; - struct usb_device *xdev = IntfAdapter->udev; + struct bcm_interface_adapter *intf_ad = ad->pvInterfaceAdapter; + struct usb_interface *udev = intf_ad->interface; + struct usb_device *xdev = intf_ad->udev; int result; @@ -228,9 +228,9 @@ int register_networkdev(struct bcm_mini_adapter *ad) void unregister_networkdev(struct bcm_mini_adapter *ad) { struct net_device *net = ad->dev; - struct bcm_interface_adapter *IntfAdapter = ad->pvInterfaceAdapter; - struct usb_interface *udev = IntfAdapter->interface; - struct usb_device *xdev = IntfAdapter->udev; + struct bcm_interface_adapter *intf_ad = ad->pvInterfaceAdapter; + struct usb_interface *udev = intf_ad->interface; + struct usb_device *xdev = intf_ad->udev; if (netif_msg_probe(ad)) dev_info(&udev->dev, PFX "%s: unregister usb-%s%s\n", -- 2.30.2