Module Name: src Committed By: joerg Date: Mon May 30 13:57:21 UTC 2011
Modified Files: src/sys/external/isc/atheros_hal/dist/ar5416: ar5416_eeprom.c Log Message: Silence warnings about unused return value for a dead hardware read. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 \ src/sys/external/isc/atheros_hal/dist/ar5416/ar5416_eeprom.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/external/isc/atheros_hal/dist/ar5416/ar5416_eeprom.c diff -u src/sys/external/isc/atheros_hal/dist/ar5416/ar5416_eeprom.c:1.1.1.1 src/sys/external/isc/atheros_hal/dist/ar5416/ar5416_eeprom.c:1.2 --- src/sys/external/isc/atheros_hal/dist/ar5416/ar5416_eeprom.c:1.1.1.1 Thu Dec 11 04:46:48 2008 +++ src/sys/external/isc/atheros_hal/dist/ar5416/ar5416_eeprom.c Mon May 30 13:57:21 2011 @@ -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: ar5416_eeprom.c,v 1.1.1.1 2008/12/11 04:46:48 alc Exp $ + * $Id: ar5416_eeprom.c,v 1.2 2011/05/30 13:57:21 joerg Exp $ */ #include "opt_ah.h" @@ -34,7 +34,7 @@ HAL_BOOL ar5416EepromRead(struct ath_hal *ah, u_int off, uint16_t *data) { - OS_REG_READ(ah, AR5416_EEPROM_OFFSET + (off << AR5416_EEPROM_S)); + (void)OS_REG_READ(ah, AR5416_EEPROM_OFFSET + (off << AR5416_EEPROM_S)); if (!ath_hal_wait(ah, AR_EEPROM_STATUS_DATA, AR_EEPROM_STATUS_DATA_BUSY | AR_EEPROM_STATUS_DATA_PROT_ACCESS, 0)) return AH_FALSE;