Skip to content

Commit 99b63f5

Browse files
hcahcafrankjaa
authored andcommitted
KVM: s390: remove unused gisa_clear_ipm_gisc() function
clang warns about an unused function: arch/s390/kvm/interrupt.c:317:20: error: unused function 'gisa_clear_ipm_gisc' [-Werror,-Wunused-function] static inline void gisa_clear_ipm_gisc(struct kvm_s390_gisa *gisa, u32 gisc) Remove gisa_clear_ipm_gisc(), since it is unused and get rid of this warning. Signed-off-by: Heiko Carstens <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Borntraeger <[email protected]> Signed-off-by: Janosch Frank <[email protected]>
1 parent dbec280 commit 99b63f5

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

arch/s390/kvm/interrupt.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -314,11 +314,6 @@ static inline u8 gisa_get_ipm(struct kvm_s390_gisa *gisa)
314314
return READ_ONCE(gisa->ipm);
315315
}
316316

317-
static inline void gisa_clear_ipm_gisc(struct kvm_s390_gisa *gisa, u32 gisc)
318-
{
319-
clear_bit_inv(IPM_BIT_OFFSET + gisc, (unsigned long *) gisa);
320-
}
321-
322317
static inline int gisa_tac_ipm_gisc(struct kvm_s390_gisa *gisa, u32 gisc)
323318
{
324319
return test_and_clear_bit_inv(IPM_BIT_OFFSET + gisc, (unsigned long *) gisa);

0 commit comments

Comments
 (0)