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/ar5212 abs on unsigned val...
details: https://anonhg.NetBSD.org/src/rev/166b1130ef28
branches: trunk
changeset: 793828:166b1130ef28
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Feb 27 01:31:09 2014 +0000
description:
abs on unsigned values is a nop.
diffstat:
sys/external/isc/atheros_hal/dist/ar5212/ar5212_reset.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r cbf071e1831f -r 166b1130ef28 sys/external/isc/atheros_hal/dist/ar5212/ar5212_reset.c
--- a/sys/external/isc/atheros_hal/dist/ar5212/ar5212_reset.c Thu Feb 27 01:30:42 2014 +0000
+++ b/sys/external/isc/atheros_hal/dist/ar5212/ar5212_reset.c Thu Feb 27 01:31:09 2014 +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: ar5212_reset.c,v 1.4 2011/03/07 11:25:43 cegger Exp $
+ * $Id: ar5212_reset.c,v 1.5 2014/02/27 01:31:09 joerg Exp $
*/
#include "opt_ah.h"
@@ -2510,7 +2510,7 @@
* If value is close to the current value of the list
* then target is not between values, it is one of the values
*/
- if (abs(lp[0] * EEP_SCALE - target) < EEP_DELTA) {
+ if (lp[0] * EEP_SCALE - target < EEP_DELTA) {
*vlo = *vhi = lp[0];
return;
}
Home |
Main Index |
Thread Index |
Old Index