mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
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:
parent
2724680bce
commit
8fbcec241d
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue