Skip to content

Commit 90ce70f

Browse files
svens-s390heicarst
authored andcommitted
s390/pci: remove unused functions
Signed-off-by: Sven Schnelle <svens@linux.ibm.com> Acked-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
1 parent b39e772 commit 90ce70f

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

‎arch/s390/include/asm/pci_dma.h‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,6 @@ static inline void validate_st_entry(unsigned long *entry)
131131
*entry |= ZPCI_TABLE_VALID;
132132
}
133133

134-
static inline void invalidate_table_entry(unsigned long *entry)
135-
{
136-
*entry &= ~ZPCI_TABLE_VALID_MASK;
137-
*entry |= ZPCI_TABLE_INVALID;
138-
}
139-
140134
static inline void invalidate_pt_entry(unsigned long *entry)
141135
{
142136
WARN_ON_ONCE((*entry & ZPCI_PTE_VALID_MASK) == ZPCI_PTE_INVALID);
@@ -173,11 +167,6 @@ static inline int pt_entry_isvalid(unsigned long entry)
173167
return (entry & ZPCI_PTE_VALID_MASK) == ZPCI_PTE_VALID;
174168
}
175169

176-
static inline int entry_isprotected(unsigned long entry)
177-
{
178-
return (entry & ZPCI_TABLE_PROT_MASK) == ZPCI_TABLE_PROTECTED;
179-
}
180-
181170
static inline unsigned long *get_rt_sto(unsigned long entry)
182171
{
183172
return ((entry & ZPCI_TABLE_TYPE_MASK) == ZPCI_TABLE_TYPE_RTX)

0 commit comments

Comments
 (0)