svn commit: r251949 - stable/9/sys/dev/sym
Marius Strobl
marius at FreeBSD.org
Tue Jun 18 15:17:29 UTC 2013
Author: marius
Date: Tue Jun 18 15:17:29 2013
New Revision: 251949
URL: http://svnweb.freebsd.org/changeset/base/251949
Log:
MFC: r245263
Clang complains about the comparision of fak < 0 always being
false. It is right. Delete it because on the next line we catch all
'negative' cases with the test > 2, since 'negative' numbers are just
really big unsigned numbers and we do an identical action.
Modified:
stable/9/sys/dev/sym/sym_hipd.c
Directory Properties:
stable/9/sys/ (props changed)
stable/9/sys/dev/ (props changed)
Modified: stable/9/sys/dev/sym/sym_hipd.c
==============================================================================
--- stable/9/sys/dev/sym/sym_hipd.c Tue Jun 18 15:15:53 2013 (r251948)
+++ stable/9/sys/dev/sym/sym_hipd.c Tue Jun 18 15:17:29 2013 (r251949)
@@ -3430,7 +3430,6 @@ sym_getsync(hcb_p np, u_char dt, u_char
/*
* Check against our hardware limits, or bugs :).
*/
- if (fak < 0) {fak = 0; ret = -1;}
if (fak > 2) {fak = 2; ret = -1;}
/*
More information about the svn-src-stable-9
mailing list