]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
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 b0901ee5a0025f93e32287c1acbb3ef0ded0f47a..43f7495df27a932659c714fbf7b897ab6eca2716 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: