The value was computed, but then never used.
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
        for (i = 0; i < MRVDRV_MAX_REGION_CODE; i++) {
                /* use the region code to search for the index */
                if (adapter->regioncode == libertas_region_code_to_index[i]) {
-                       adapter->regiontableindex = (u16) i;
                        break;
                }
        }
        /* if it's unidentified region code, use the default (USA) */
        if (i >= MRVDRV_MAX_REGION_CODE) {
                adapter->regioncode = 0x10;
-               adapter->regiontableindex = 0;
                lbs_pr_info("unidentified region code; using the default (USA)\n");
        }
 
 
        u16 currentpacketfilter;
        u32 connect_status;
        u16 regioncode;
-       u16 regiontableindex;
        u16 txpowerlevel;
 
        /** POWER MANAGEMENT AND PnP SUPPORT */