diff options
author | 2024-07-30 15:58:20 +0200 | |
---|---|---|
committer | 2024-07-31 18:38:29 -0700 | |
commit | ec672931d150910b5f886d70a5305eb89681b076 (patch) | |
tree | 4f22459026598bd3718ebd79620a654c5ea0ea58 /net/core/netdev-genl.c | |
parent | mlxsw: core_thermal: Remove unnecessary checks (diff) | |
download | wireguard-linux-ec672931d150910b5f886d70a5305eb89681b076.tar.xz wireguard-linux-ec672931d150910b5f886d70a5305eb89681b076.zip |
mlxsw: core_thermal: Remove unnecessary assignments
Setting both pointers to NULL is unnecessary since the code never checks
whether these pointers are NULL or not. Remove the assignments.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Vadim Pasternak <vadimp@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Link: https://patch.msgid.link/ea646f5d7642fffd5393fa23650660ab8f77a511.1722345311.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/netdev-genl.c')
0 files changed, 0 insertions, 0 deletions