]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r313554:
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 24 Feb 2017 21:22:13 +0000 (21:22 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 24 Feb 2017 21:22:13 +0000 (21:22 +0000)
commit345fa6e8cab029cbef26757adad7ff5f787e4efe
treeae5a05ecb3cf7f4c428a6ab126bd44ddd88d7fac
parentafb23b442a1a77020a4354143edefe0d5afa9d5c
MFC r313554:
Clean redundant MIN/MAX declarations in some HighPoint drivers.

The hpt27xx(4), hptnr(4), and hptrr(4) drivers declare MIN() and MAX()
internally which match the macros from sys/param.h.

MIN() is not used, MAX is only used once and can be replaced with the
max() version in libkern.h which operates on u_ints.

MFC after: 2 weeks

git-svn-id: svn://svn.freebsd.org/base/stable/10@314224 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
sys/dev/hpt27xx/ldm.h
sys/dev/hptnr/hptnr_osm_bsd.c
sys/dev/hptnr/ldm.h
sys/dev/hptrr/hptrr_osm_bsd.c
sys/dev/hptrr/ldm.h