Re: [PATCH v14 18/34] cxl/port: Remove "enumerate dports" helpers
From: dan.j.williams
Date: Thu Jan 15 2026 - 22:21:41 EST
Terry Bowman wrote:
> From: Dan Williams <dan.j.williams@xxxxxxxxx>
>
> Now that cxl_switch_port_probe() no longer walks potential dports, because
> they are enumerated dynamically on descendant endpoint arrival, remove the
> dead code.
>
> Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>
> Reviewed-by: Terry Bowman <terry.bowman@xxxxxxx>
Terry, the reference patch I sent was based on 6.18-rc4. That means it
was missing this change:
3f5b8f7f34f6 cxl/port: Remove devm_cxl_port_enumerate_dports()
This cxl_walk_context move, which was not part of my original patch,
also does not appear to be needed, so this patch can simply be dropped.