Skip to content
Commit b0b815a3 authored by Guofeng Yue's avatar Guofeng Yue Committed by David S. Miller
Browse files

net: amd: Unified the comparison between pointers and NULL to the same writing



Using the unified way to compare pointers and NULL, which cleans the static
warning.

eg:
	if (skb == NULL) --> if (!skb)
	if (skb != NULL) --> if (skb)

Signed-off-by: default avatarGuofeng Yue <yueguofeng@hisilicon.com>
Signed-off-by: default avatarHaoyue Xu <xuhaoyue1@hisilicon.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 454e7b13
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment