From: Luca Ceresoli Date: Thu, 16 Apr 2015 21:28:07 +0000 (+0200) Subject: staging: rtl8188eu: remove commented code X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4b248ab2dd818cc0cec819719cf24c838194685a;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8188eu: remove commented code This code is commented since the initial commit. Probably it is a remnant of old code. Signed-off-by: Luca Ceresoli Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/os_dep/os_intfs.c b/drivers/staging/rtl8188eu/os_dep/os_intfs.c index c193f40aadaf..78b5ad0528f0 100644 --- a/drivers/staging/rtl8188eu/os_dep/os_intfs.c +++ b/drivers/staging/rtl8188eu/os_dep/os_intfs.c @@ -622,8 +622,8 @@ static struct net_device_stats *rtw_net_get_stats(struct net_device *pnetdev) struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); struct recv_priv *precvpriv = &(padapter->recvpriv); - padapter->stats.tx_packets = pxmitpriv->tx_pkts;/* pxmitpriv->tx_pkts++; */ - padapter->stats.rx_packets = precvpriv->rx_pkts;/* precvpriv->rx_pkts++; */ + padapter->stats.tx_packets = pxmitpriv->tx_pkts; + padapter->stats.rx_packets = precvpriv->rx_pkts; padapter->stats.tx_dropped = pxmitpriv->tx_drop; padapter->stats.rx_dropped = precvpriv->rx_drop; padapter->stats.tx_bytes = pxmitpriv->tx_bytes;