Re: [PATCH] cxl: Drop unused detach_spa()

2023-08-30 Thread Michael Ellerman
On Wed, 23 Aug 2023 14:48:03 +1000, Michael Ellerman wrote: > Clang warns: > drivers/misc/cxl/native.c:272:20: error: unused function 'detach_spa' > [-Werror,-Wunused-function] > > It was created as part of some refactoring in commit 05155772f642 ("cxl: > Allocate and release the SPA with the

Re: [PATCH] cxl: Drop unused detach_spa()

2023-08-22 Thread Andrew Donnellan
On Wed, 2023-08-23 at 14:48 +1000, Michael Ellerman wrote: > Clang warns: >   drivers/misc/cxl/native.c:272:20: error: unused function > 'detach_spa' [-Werror,-Wunused-function] > > It was created as part of some refactoring in commit 05155772f642 > ("cxl: > Allocate and release the SPA with the

[PATCH] cxl: Drop unused detach_spa()

2023-08-22 Thread Michael Ellerman
Clang warns: drivers/misc/cxl/native.c:272:20: error: unused function 'detach_spa' [-Werror,-Wunused-function] It was created as part of some refactoring in commit 05155772f642 ("cxl: Allocate and release the SPA with the AFU"), but has never been called in its current form. Drop it.