From: Dmitry Shmidt Date: Tue, 28 Feb 2012 18:30:59 +0000 (-0800) Subject: net: wireless: bcmdhd: Minor cleaning X-Git-Tag: firefly_0821_release~7613^2~172 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=46ec987de3c3009cebc6e0735c4f865b71ae833b;p=firefly-linux-kernel-4.4.55.git net: wireless: bcmdhd: Minor cleaning Signed-off-by: Dmitry Shmidt --- diff --git a/drivers/net/wireless/bcmdhd/dhd_linux.c b/drivers/net/wireless/bcmdhd/dhd_linux.c index 2285078c7ec8..6418e38f3b73 100644 --- a/drivers/net/wireless/bcmdhd/dhd_linux.c +++ b/drivers/net/wireless/bcmdhd/dhd_linux.c @@ -3748,7 +3748,7 @@ dhd_module_init(void) error = -ENODEV; DHD_ERROR(("%s: sdio_register_driver timeout\n", __FUNCTION__)); goto fail_2; - } + } #endif #if defined(WL_CFG80211) wl_android_post_init(); @@ -4377,8 +4377,6 @@ dhd_dev_get_pno_status(struct net_device *dev) #endif /* PNO_SUPPORT */ -struct work_struct work; - int net_os_send_hang_message(struct net_device *dev) { dhd_info_t *dhd = *(dhd_info_t **)netdev_priv(dev); @@ -4411,7 +4409,7 @@ void dhd_bus_country_set(struct net_device *dev, wl_country_t *cspec) dhd_info_t *dhd = *(dhd_info_t **)netdev_priv(dev); if (dhd && dhd->pub.up) - memcpy(&dhd->pub.dhd_cspec, cspec, sizeof(wl_country_t)); + memcpy(&dhd->pub.dhd_cspec, cspec, sizeof(wl_country_t)); } void dhd_net_if_lock(struct net_device *dev)