[PATCH 1/2] staging: wilc1000: remove ununsed function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Hari Prasath Gujulan Elango <hgujulan@xxxxxxxxxxx>

The function WILC_WFI_InitPriv() is not used anywhere in the
driver.Hence remove it.

Signed-off-by: Hari Prasath Gujulan Elango <hgujulan@xxxxxxxxxxx>
---
 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 1db4ef8..c744ef6 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
-- 
1.9.1
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux