summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>2013-01-22 06:32:44 +0000
committerDavid S. Miller <davem@davemloft.net>2013-01-22 14:28:28 -0500
commit8fbcec241df21d1ba2aba09974ea9017832b69b0 (patch)
tree0d15c692359736dcb1af5bba731ae6a501c9d153 /net
parent2724680bceee94eac391552863771af105a7355c (diff)
downloadop-kernel-dev-8fbcec241df21d1ba2aba09974ea9017832b69b0.zip
op-kernel-dev-8fbcec241df21d1ba2aba09974ea9017832b69b0.tar.gz
net: Use IS_ERR_OR_NULL().
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/core/flow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/flow.c b/net/core/flow.c
index b0901ee..43f7495 100644
--- a/net/core/flow.c
+++ b/net/core/flow.c
@@ -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:
OpenPOWER on IntegriCloud