aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000
diff options
context:
space:
mode:
authorHari Prasath Gujulan Elango <hgujulan@visteon.com>2015-06-03 09:07:44 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-08 13:08:42 -0700
commitaa02a9392e68154a0ab7b897cbf541eb6afbfb44 (patch)
tree614514281941695033d649e2e142e359da221997 /drivers/staging/wilc1000
parentstaging: wilc1000: use time_after_eq (diff)
downloadlinux-dev-aa02a9392e68154a0ab7b897cbf541eb6afbfb44.tar.xz
linux-dev-aa02a9392e68154a0ab7b897cbf541eb6afbfb44.zip
staging: wilc1000: remove ununsed function
The function WILC_WFI_InitPriv() is not used anywhere in the driver.Hence remove it. Signed-off-by: Hari Prasath Gujulan Elango <hgujulan@visteon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000')
-rw-r--r--drivers/staging/wilc1000/wilc_wfi_cfgoperations.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index fd474d7c232c..7807e23ba9a4 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -3796,30 +3796,7 @@ int WILC_WFI_update_stats(struct wiphy *wiphy, u32 pktlen, u8 changed)
#endif
return 0;
}
-/**
- * @brief WILC_WFI_InitPriv
- * @details Initialization of the net device, private data
- * @param[in] NONE
- * @return NONE
- * @author mdaftedar
- * @date 01 MAR 2012
- * @version 1.0
- */
-void WILC_WFI_InitPriv(struct net_device *dev)
-{
-
- struct WILC_WFI_priv *priv;
- priv = netdev_priv(dev);
- priv->netstats.rx_packets = 0;
- priv->netstats.tx_packets = 0;
- priv->netstats.rx_bytes = 0;
- priv->netstats.rx_bytes = 0;
- priv->netstats.rx_time = 0;
- priv->netstats.tx_time = 0;
-
-
-}
/**
* @brief WILC_WFI_CfgAlloc
* @details Allocation of the wireless device structure and assigning it