Re: [PATCH 1/1] cxl/port: Remove devm_cxl_port_enumerate_dports()

From: Jonathan Cameron

Date: Tue Sep 30 2025 - 10:55:47 EST


On Mon, 29 Sep 2025 09:43:26 -0700
Dave Jiang <dave.jiang@xxxxxxxxx> wrote:

> On 9/27/25 3:07 AM, Li Ming wrote:
> > devm_cxl_port_enumerate_dports() is not longer used after below commit
> > commit 4f06d81e7c6a ("cxl: Defer dport allocation for switch ports")
> >
> > Delete it and the relevant interface implemented in cxl_test.
> >
> > Signed-off-by: Li Ming <ming.li@xxxxxxxxxxxx>
>
> Reviewed-by: Dave Jiang <dave.jiang@xxxxxxxxx>
>
> Thanks Ming. For some reason I thought I did this. But it seems not...
I never object to deleting unused code - particularly when the testing
wrappers can go aw well.

Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>