s390: delete the unused store_prefix() function
authorIlya Leoshkevich <iii@linux.ibm.com>
Mon, 31 Jul 2023 15:07:02 +0000 (17:07 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 25 Oct 2023 13:08:29 +0000 (15:08 +0200)
Its last usage was deleted in commit 4df29d2b9024 ("s390/smp: rework
absolute lowcore access").

Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/lowcore.h

index 3366431dcad56e3bc1be175d3be3e9ddff8494bc..5dc1b63450065bc5f02e30f4567715e2aece1648 100644 (file)
@@ -222,12 +222,4 @@ static inline void set_prefix(__u32 address)
        asm volatile("spx %0" : : "Q" (address) : "memory");
 }
 
-static inline __u32 store_prefix(void)
-{
-       __u32 address;
-
-       asm volatile("stpx %0" : "=Q" (address));
-       return address;
-}
-
 #endif /* _ASM_S390_LOWCORE_H */