diff options
author | lin wang - Sun Microsystems - Beijing China <Wang.Lin@Sun.COM> | 2010-02-22 13:05:55 +0800 |
---|---|---|
committer | lin wang - Sun Microsystems - Beijing China <Wang.Lin@Sun.COM> | 2010-02-22 13:05:55 +0800 |
commit | a3ccee74663ff54e66f1516f3eb4e1776af8f274 (patch) | |
tree | 7077e66427b9a0d084f3bba1020c98d30f5643e5 /usr/src | |
parent | d35e9352c203d3c67ed57186e0e8a6de000384ab (diff) | |
download | illumos-gate-a3ccee74663ff54e66f1516f3eb4e1776af8f274.tar.gz |
6850607 Atheros 9000 series driver (arn) needs to support 802.11n (fix lint)
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/common/io/arn/arn_core.h | 5 | ||||
-rw-r--r-- | usr/src/uts/common/io/arn/arn_xmit.c | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/uts/common/io/arn/arn_core.h b/usr/src/uts/common/io/arn/arn_core.h index 8272c3f6d4..a078de44a3 100644 --- a/usr/src/uts/common/io/arn/arn_core.h +++ b/usr/src/uts/common/io/arn/arn_core.h @@ -317,10 +317,11 @@ struct ath_config { (_bf)->bf_lastbf = NULL; \ (_bf)->bf_lastfrm = NULL; \ (_bf)->bf_next = NULL; \ - memset(&((_bf)->bf_state), 0, \ + (void) memset(&((_bf)->bf_state), 0, \ sizeof (struct ath_buf_state)); \ - memset(&((_bf)->tx_info_priv), 0, \ + (void) memset(&((_bf)->tx_info_priv), 0, \ sizeof (struct ath_tx_info_priv)); \ + _NOTE(CONSTCOND) \ } while (0) enum buffer_type { diff --git a/usr/src/uts/common/io/arn/arn_xmit.c b/usr/src/uts/common/io/arn/arn_xmit.c index c06dce6b47..53135108d6 100644 --- a/usr/src/uts/common/io/arn/arn_xmit.c +++ b/usr/src/uts/common/io/arn/arn_xmit.c @@ -1242,7 +1242,6 @@ ath_tx_setup_buffer(struct arn_softc *sc, struct ath_buf *bf, int i; /* Buf reset */ - /* LINTED E_CONSTANT_CONDITION */ ATH_TXBUF_RESET(bf); for (i = 0; i < 4; i++) { bf->rates[i].idx = -1; |