Re: [PATCH net-next] net/smc: remove unused function smc_lo_supports_v2

Simon Horman
2025-06-19T10:42:06Z

On Thu, Jun 19, 2025 at 11:08:54AM +0800, Wang Liang wrote:
> The smcd_ops->supports_v2 is only called in smcd_register_dev(), which
> calls function smcd_supports_v2 for ism. For loopback-ism, function
> smc_lo_supports_v2 is unused, remove it.
>
> Signed-off-by: Wang Liang <wangliang74@huawei.com>

Thanks, I agree with this analysis.

Reviewed-by: Simon Horman <horms@kernel.org>