Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drivers/misc/sgi-xp: Remove orphan declarations from drivers/misc/sgi-xp/xp.h

Remove the following orphan declarations from drivers/misc/sgi-xp/xp.h:
1. xp_nofault_PIOR_target
2. xp_error_PIOR
3. xp_nofault_PIOR

They have been removed since commit 9726bfcdb977 ("misc/sgi-xp:
remove SGI SN2 support"), so remove them.

Reviewed-by: Steve Wahl <steve.wahl@hpe.com>
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Link: https://lore.kernel.org/r/20220913110356.764711-1-cuigaosheng1@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Gaosheng Cui and committed by
Greg Kroah-Hartman
1b46c821 3717ca3e

-4
-4
drivers/misc/sgi-xp/xp.h
··· 334 334 extern enum xp_retval (*xp_expand_memprotect) (unsigned long, unsigned long); 335 335 extern enum xp_retval (*xp_restrict_memprotect) (unsigned long, unsigned long); 336 336 337 - extern u64 xp_nofault_PIOR_target; 338 - extern int xp_nofault_PIOR(void *); 339 - extern int xp_error_PIOR(void); 340 - 341 337 extern struct device *xp; 342 338 extern enum xp_retval xp_init_uv(void); 343 339 extern void xp_exit_uv(void);