net: Use IS_ERR_OR_NULL().
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>
Tue, 22 Jan 2013 06:32:44 +0000 (06:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Jan 2013 19:28:28 +0000 (14:28 -0500)
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/flow.c

index b0901ee..43f7495 100644 (file)
@@ -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: