Commit a93f38eb authored by Dennis Chen's avatar Dennis Chen Committed by Jakub Kicinski
Browse files

netdevsim: remove redundant branch



bool notify is referenced nowhere else in the function except to check
whether or not to call rtnl_offload_xstats_notify(). Remove it and move
the call to the previous branch.

Signed-off-by: default avatarDennis Chen <dechen@redhat.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Reviewed-by: default avatarPetr Machata <petrm@nvidia.com>
Link: https://patch.msgid.link/20250716165750.561175-1-dechen@redhat.com


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