Silence warnings about unused return value for a dead hardware read.

This commit is contained in:
joerg 2011-05-30 13:57:21 +00:00
parent 78ec0254df
commit 45132449f2
1 changed files with 2 additions and 2 deletions

View File

@ -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;