ath9k: Remove unnecessary variable initialization
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Thu, 16 Feb 2012 06:20:55 +0000 (11:50 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 27 Feb 2012 19:05:41 +0000 (14:05 -0500)
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/debug.c

index 68d972bf232d20fbc431c291853288c4b20e7fd1..dc45cf91aba23176997d9ccd3aa455a1a6c9752a 100644 (file)
@@ -1677,10 +1677,5 @@ int ath9k_init_debug(struct ath_hw *ah)
        debugfs_create_u32("gpio_val", S_IRUSR | S_IWUSR,
                           sc->debug.debugfs_phy, &sc->sc_ah->gpio_val);
 
-       sc->debug.regidx = 0;
-       memset(&sc->debug.bb_mac_samp, 0, sizeof(sc->debug.bb_mac_samp));
-       sc->debug.sampidx = 0;
-       sc->debug.tsidx = 0;
-       sc->debug.rsidx = 0;
        return 0;
 }