aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/microchip
diff options
context:
space:
mode:
authorGuofeng Yue <yueguofeng@hisilicon.com>2022-09-07 14:28:10 +0800
committerDavid S. Miller <davem@davemloft.net>2022-09-16 10:27:47 +0100
commitb0b815a356aa4f3352563b3350a7b2354c0f2c5c (patch)
treead8aca9339484b68bfdd66c280d04de293a488e5 /drivers/net/dsa/microchip
parentvsock/vmci: fix repeated words in comments (diff)
downloadlinux-dev-b0b815a356aa4f3352563b3350a7b2354c0f2c5c.tar.xz
linux-dev-b0b815a356aa4f3352563b3350a7b2354c0f2c5c.zip
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: Guofeng Yue <yueguofeng@hisilicon.com> Signed-off-by: Haoyue Xu <xuhaoyue1@hisilicon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/microchip')
0 files changed, 0 insertions, 0 deletions