Commit 743ff021 authored by Simon Horman's avatar Simon Horman Committed by Jakub Kicinski
Browse files

ethtool: Don't check for NULL info in prepare_data callbacks

Since commit f946270d ("ethtool: netlink: always pass genl_info to
.prepare_data") the info argument of prepare_data callbacks is never
NULL. Remove checks present in callback implementations.

Link: https://lore.kernel.org/netdev/20240703121237.3f8b9125@kernel.org/


Signed-off-by: default avatarSimon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240731-prepare_data-null-check-v1-1-627f2320678f@kernel.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent f9c141fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment