Print this page
7154 arn(7D) walks out of bounds when byteswapping the 4K eeprom
7152 weird condition in arn(7D) needs clarification
7153 delete unused code in arn(7D)
7155 arn(7D) should include the mac fields in the eeprom enumeration

@@ -722,17 +722,10 @@
 ath9k_hw_getnf(struct ath_hal *ah, struct ath9k_channel *chan)
 {
         int16_t nf, nfThresh;
         int16_t nfarray[NUM_NF_READINGS] = { 0 };
         struct ath9k_nfcal_hist *h;
-        /* LINTED E_FUNC_SET_NOT_USED */
-        uint8_t chainmask;
-
-        if (AR_SREV_9280(ah))
-                chainmask = 0x1B;
-        else
-                chainmask = 0x3F;
 
         chan->channelFlags &= (~CHANNEL_CW_INT);
         if (REG_READ(ah, AR_PHY_AGC_CONTROL) & AR_PHY_AGC_CONTROL_NF) {
                 ARN_DBG((ARN_DBG_CALIBRATE, "arn: "
                     "%s: NF did not complete in calibration window\n",