Remove a duplicate check.

PR:		229663
Submitted by:	David Binderman <dcb314@hotmail.com>
MFC after:	3 days
This commit is contained in:
Mark Johnston 2018-07-11 14:54:56 +00:00
parent f1dd498487
commit aaf268f9f6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336199

View File

@ -98,8 +98,7 @@ static int
fingerprint(struct libalias *la, struct alias_data *ah)
{
if (ah->dport == NULL || ah->dport == NULL || ah->lnk == NULL ||
ah->maxpktsize == 0)
if (ah->dport == NULL || ah->lnk == NULL || ah->maxpktsize == 0)
return (-1);
if (ntohs(*ah->dport) == IRC_CONTROL_PORT_NUMBER_1
|| ntohs(*ah->dport) == IRC_CONTROL_PORT_NUMBER_2)