Subject: [PATCH net-next 1/4] net: Use IS_ERR_OR_NULL().

From: YOSHIFUJI Hideaki <[email-masked]>
Date: Wed, 23 Jan 2013 01:32:44 +0900

Signed-off-by: YOSHIFUJI Hideaki <[email-masked]>
---
 net/core/flow.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:
-- 
1.7.9.5