diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2021-04-14 09:13:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-14 22:52:59 +0200 |
commit | 73d7de66aa3c76d90092649766278296042ba836 (patch) | |
tree | 4fe4a497010521ff5aeda3769fb889de90b911b7 /drivers/atm | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse... (diff) | |
download | linux-73d7de66aa3c76d90092649766278296042ba836.tar.xz linux-73d7de66aa3c76d90092649766278296042ba836.zip |
atm: idt77252: remove unused function
Fix the following clang warning:
drivers/atm/idt77252.c:1787:1: warning: unused function
'idt77252_fbq_level' [-Wunused-function].
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
-rw-r--r-- | drivers/atm/idt77252.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c index 0c13cac903de..9e4bd751db79 100644 --- a/drivers/atm/idt77252.c +++ b/drivers/atm/idt77252.c @@ -1784,12 +1784,6 @@ set_tct(struct idt77252_dev *card, struct vc_map *vc) /*****************************************************************************/ static __inline__ int -idt77252_fbq_level(struct idt77252_dev *card, int queue) -{ - return (readl(SAR_REG_STAT) >> (16 + (queue << 2))) & 0x0f; -} - -static __inline__ int idt77252_fbq_full(struct idt77252_dev *card, int queue) { return (readl(SAR_REG_STAT) >> (16 + (queue << 2))) == 0x0f; |