[PATCH] cxl: Drop unused detach_spa()
Andrew Donnellan
ajd at linux.ibm.com
Wed Aug 23 14:51:23 AEST 2023
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 AFU"), but has never been
> called
> in its current form. Drop it.
>
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
Indeed it looks unused.
Acked-by: Andrew Donnellan <ajd at linux.ibm.com>
--
Andrew Donnellan OzLabs, ADL Canberra
ajd at linux.ibm.com IBM Australia Limited
More information about the Linuxppc-dev
mailing list