Commit cd02ab73 authored by Ivan Abramov's avatar Ivan Abramov Committed by Jakub Kicinski
Browse files

ptp: ocp: Remove redundant check in _signal_summary_show



In the function _signal_summary_show(), there is a NULL-check for
&bp->signal[nr], which cannot actually be NULL.

Therefore, this redundant check can be removed.

Signed-off-by: default avatarIvan Abramov <i.abramov@mt-integration.ru>
Reviewed-by: default avatarVadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20250305092520.25817-1-i.abramov@mt-integration.ru


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