Files
linux/net/dsa
Kai Kuang e6a5d573d2 net: dsa: drop explicit NULL comparisons
Replace explicit NULL comparisons with the boolean form to follow
the kernel coding style:

  dev->class != NULL  -> dev->class
  user_dev == NULL    -> !user_dev

No functional changes intended.

Signed-off-by: Kai Kuang <kuangkai@kylinos.cn>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Joe Damato <joe@dama.to>
Link: https://patch.msgid.link/20260812060644.210997-1-kuangkai@kylinos.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-08-14 13:57:27 -07:00
..
2023-10-24 13:08:14 -07:00
2026-08-14 13:57:27 -07:00
2023-10-24 13:08:14 -07:00
2026-05-21 13:04:42 +02:00
2026-05-21 13:04:42 +02:00
2022-11-22 20:41:54 -08:00
2023-10-24 13:08:14 -07:00
2023-10-24 13:08:14 -07:00
2026-06-27 15:44:12 -07:00