An u_int8_t can never be bigger than 255, so remove a useless check.

Spotted by:	GCC
This commit is contained in:
Maxime Henrion 2003-07-25 12:23:25 +00:00
parent 42e271cf22
commit 434252892a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118011

View file

@ -111,8 +111,6 @@ inet6_option_append(cmsg, typep, multx, plusy)
return(-1);
if (plusy < 0 || plusy > 7)
return(-1);
if (typep[0] > 255)
return(-1);
/*
* If this is the first option, allocate space for the