Date: Sat, 13 Dec 2008 03:49:02 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r186019 - head/sys/dev/ath/ath_hal Message-ID: <200812130349.mBD3n2ol017155@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sam Date: Sat Dec 13 03:49:01 2008 New Revision: 186019 URL: http://svn.freebsd.org/changeset/base/186019 Log: remove dead code Obtained from: netbsd Modified: head/sys/dev/ath/ath_hal/ah_eeprom_v14.c Modified: head/sys/dev/ath/ath_hal/ah_eeprom_v14.c ============================================================================== --- head/sys/dev/ath/ath_hal/ah_eeprom_v14.c Sat Dec 13 03:48:33 2008 (r186018) +++ head/sys/dev/ath/ath_hal/ah_eeprom_v14.c Sat Dec 13 03:49:01 2008 (r186019) @@ -160,18 +160,6 @@ v14EepromDiag(struct ath_hal *ah, int re return AH_FALSE; } -/* XXX conditionalize by target byte order */ -#ifndef bswap16 -static __inline__ uint16_t -__bswap16(uint16_t _x) -{ - return ((uint16_t)( - (((const uint8_t *)(&_x))[0] ) | - (((const uint8_t *)(&_x))[1]<< 8)) - ); -} -#endif - /* Do structure specific swaps if Eeprom format is non native to host */ static void eepromSwap(struct ar5416eeprom *ee)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812130349.mBD3n2ol017155>