diff options
| author | 2019-05-20 10:47:15 +0200 | |
|---|---|---|
| committer | 2019-05-21 08:14:19 +0200 | |
| commit | 078ef50c2a1a7a6e86f5756c501f727b0e527c05 (patch) | |
| tree | c09432717e6dac0f64980f58d53cb85d458456c9 | |
| parent | staging: kpc2000: move the i2c driver out of its subdirectory (diff) | |
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>
| -rw-r--r-- | drivers/staging/kpc2000/kpc2000/dma_common_defs.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/staging/kpc2000/kpc2000/dma_common_defs.h b/drivers/staging/kpc2000/kpc2000/dma_common_defs.h index f35e636b1fb7..efc35c8e9d5c 100644 --- a/drivers/staging/kpc2000/kpc2000/dma_common_defs.h +++ b/drivers/staging/kpc2000/kpc2000/dma_common_defs.h @@ -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_ */ |
