staging: rtl8188eu: remove unwanted assignment
authorHari Prasath Gujulan Elango <hgujulan@visteon.com>
Mon, 1 Jun 2015 09:48:49 +0000 (09:48 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jun 2015 20:33:39 +0000 (13:33 -0700)
remove an unwanted assignment to a variable which is overwritten in the
very next line.The first value assigned is not used.

Signed-off-by: Hari Prasath Gujulan Elango <hgujulan@visteon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/usb_halinit.c

index 7b01d5aa6b23e023f61c6f9fe74de93a4690405c..8726222142648fb6e07f12a015342415ea8f2ab9 100644 (file)
@@ -2077,7 +2077,6 @@ static void UpdateHalRAMask8188EUsb(struct adapter *adapt, u32 mac_id, u8 rssi_l
                break;
        }
 
-       rate_bitmap = 0x0fffffff;
        rate_bitmap = ODM_Get_Rate_Bitmap(&haldata->odmpriv, mac_id, mask, rssi_level);
        DBG_88E("%s => mac_id:%d, networkType:0x%02x, mask:0x%08x\n\t ==> rssi_level:%d, rate_bitmap:0x%08x\n",
                __func__, mac_id, networkType, mask, rssi_level, rate_bitmap);