net: Use IS_ERR_OR_NULL().

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
YOSHIFUJI Hideaki / 吉藤英明 2013-01-22 06:32:44 +00:00 committed by David S. Miller
parent 2724680bce
commit 8fbcec241d

View File

@ -286,7 +286,7 @@ nocache:
else else
fle->genid--; fle->genid--;
} else { } else {
if (flo && !IS_ERR(flo)) if (!IS_ERR_OR_NULL(flo))
flo->ops->delete(flo); flo->ops->delete(flo);
} }
ret_object: ret_object: