]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: rtl8192e: Remove variable that is never written
authorMike McCormack <mikem@ring3k.org>
Mon, 31 Jan 2011 13:07:54 +0000 (22:07 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 31 Jan 2011 21:57:03 +0000 (13:57 -0800)
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8192e/r8192E.h
drivers/staging/rtl8192e/r8192E_core.c

index 5f85872e39a2baa91a2bb2165d80c21d3d1cc318..19fd188163f09f09036dcaf3e33b5b9bd2620fea 100644 (file)
@@ -479,7 +479,6 @@ typedef struct Stats
        unsigned long rxrdu;
        unsigned long rxok;
        unsigned long rxcmdpkt[4];              //08/05/08 amy rx cmd element txfeedback/bcn report/cfg set/query
-       unsigned long rxurberr; /* remove */
        unsigned long received_rate_histogram[4][32];   //0: Total, 1:OK, 2:CRC, 3:ICV, 2007 07 03 cosa
        unsigned long rxoverflow;
        unsigned long rxint;
index a465f3770baa6d4a7a1c64bc93285088f6425a0f..2a7f19b880e09e508bc1f436081ab385b611d94e 100644 (file)
@@ -589,12 +589,10 @@ static int proc_get_stats_rx(char *page, char **start,
        len += snprintf(page + len, count - len,
                "RX packets: %lu\n"
                "RX desc err: %lu\n"
-               "RX rx overflow error: %lu\n"
-               "RX invalid urb error: %lu\n",
+               "RX rx overflow error: %lu\n",
                priv->stats.rxint,
                priv->stats.rxrdu,
-               priv->stats.rxoverflow,
-               priv->stats.rxurberr);
+               priv->stats.rxoverflow);
 
        *eof = 1;
        return len;