Remove an "sparse" warning about a shadowed variable name. Signed-off-by: David Brownell <[EMAIL PROTECTED]> --- drivers/net/usb/cdc_ether.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
--- g26.orig/drivers/net/usb/cdc_ether.c 2007-07-01 11:40:37.000000000 -0700 +++ g26/drivers/net/usb/cdc_ether.c 2007-07-01 11:40:48.000000000 -0700 @@ -144,14 +144,14 @@ int usbnet_generic_cdc_bind(struct usbne * modem interface from an RNDIS non-modem. */ if (rndis) { - struct usb_cdc_acm_descriptor *d; + struct usb_cdc_acm_descriptor *acm; - d = (void *) buf; - if (d->bmCapabilities) { + acm = (void *) buf; + if (acm->bmCapabilities) { dev_dbg(&intf->dev, "ACM capabilities %02x, " "not really RNDIS?\n", - d->bmCapabilities); + acm->bmCapabilities); goto bad_desc; } } - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html