Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/isc/atheros_hal/dist Remove unused maxPower_t4 ...



details:   https://anonhg.NetBSD.org/src/rev/e81aae6f6057
branches:  trunk
changeset: 789877:e81aae6f6057
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Sep 12 11:26:53 2013 +0000

description:
Remove unused maxPower_t4 variable.

diffstat:

 sys/external/isc/atheros_hal/dist/ah_eeprom_v3.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 67e2b7680772 -r e81aae6f6057 sys/external/isc/atheros_hal/dist/ah_eeprom_v3.c
--- a/sys/external/isc/atheros_hal/dist/ah_eeprom_v3.c  Thu Sep 12 11:23:37 2013 +0000
+++ b/sys/external/isc/atheros_hal/dist/ah_eeprom_v3.c  Thu Sep 12 11:26:53 2013 +0000
@@ -14,7 +14,7 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  *
- * $Id: ah_eeprom_v3.c,v 1.3 2011/03/07 11:25:42 cegger Exp $
+ * $Id: ah_eeprom_v3.c,v 1.4 2013/09/12 11:26:53 martin Exp $
  */
 #include "opt_ah.h"
 
@@ -181,7 +181,6 @@
        EEPROM_POWER_EXPN_5112 *pPowerExpn)
 {
        int ii, jj, kk;
-       int16_t maxPower_t4;
        EXPN_DATA_PER_XPD_5112 *pExpnXPD;
        /* ptr to array of info held per channel */
        const EEPROM_DATA_PER_CHANNEL_5112 *pCalCh;
@@ -218,7 +217,6 @@
                        pCalCh->channelValue;
                pPowerExpn->pDataPerChannel[ii].maxPower_t4 =
                        pCalCh->maxPower_t4;
-               maxPower_t4 = pPowerExpn->pDataPerChannel[ii].maxPower_t4;
 
                for (jj = 0; jj < NUM_XPD_PER_CHANNEL; jj++)
                        pPowerExpn->pDataPerChannel[ii].pDataPerXPD[jj].numPcdacs = 0;



Home | Main Index | Thread Index | Old Index