mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +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
|
||||
fle->genid--;
|
||||
} else {
|
||||
if (flo && !IS_ERR(flo))
|
||||
if (!IS_ERR_OR_NULL(flo))
|
||||
flo->ops->delete(flo);
|
||||
}
|
||||
ret_object:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue