mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 03:53:37 +02:00
staging: kpc2000: dma_common_defs.h: remove unused inline functions
The functions GetBackEndStatus() and BackEndControlSetClear() are never used by any code, so just remove them. Cc: Matt Sickler <Matt.Sickler@daktronics.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8cac7b354a
commit
078ef50c2a
|
|
@ -25,19 +25,5 @@ static inline void SetBackEndControl(void __iomem *regs, u32 value)
|
|||
{
|
||||
writel(value, regs + 0);
|
||||
}
|
||||
static inline u32 GetBackEndStatus(void __iomem *regs)
|
||||
{
|
||||
return readl(regs + 0);
|
||||
}
|
||||
|
||||
static inline u32 BackEndControlSetClear(void __iomem *regs, u32 set_bits, u32 clear_bits)
|
||||
{
|
||||
u32 start_val = GetBackEndStatus(regs);
|
||||
u32 new_val = start_val;
|
||||
new_val &= ~clear_bits;
|
||||
new_val |= set_bits;
|
||||
SetBackEndControl(regs, new_val);
|
||||
return start_val;
|
||||
}
|
||||
|
||||
#endif /* KPC_DMA_COMMON_DEFS_H_ */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user