Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8fbcec24 authored by YOSHIFUJI Hideaki / 吉藤英明's avatar YOSHIFUJI Hideaki / 吉藤英明 Committed by David S. Miller
Browse files

net: Use IS_ERR_OR_NULL().

parent 2724680b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -286,7 +286,7 @@ flow_cache_lookup(struct net *net, const struct flowi *key, u16 family, u8 dir,
		else
		else
			fle->genid--;
			fle->genid--;
	} else {
	} else {
		if (flo && !IS_ERR(flo))
		if (!IS_ERR_OR_NULL(flo))
			flo->ops->delete(flo);
			flo->ops->delete(flo);
	}
	}
ret_object:
ret_object: