summaryrefslogtreecommitdiffstats
path: root/drivers/soc/ixp4xx
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-02-10 20:18:06 +0100
committerLinus Walleij <linus.walleij@linaro.org>2019-04-23 16:02:16 +0200
commit6b39031954568afdf38169573544f6e7c1f4d321 (patch)
tree68d34e98326e40b4d2f8f90214a41ada386e935f /drivers/soc/ixp4xx
parentsoc: ixp4xx: Uninline several functions (diff)
downloadlinux-6b39031954568afdf38169573544f6e7c1f4d321.tar.xz
linux-6b39031954568afdf38169573544f6e7c1f4d321.zip
soc: ixp4xx: Remove unused functions
These former inlines turn out to be unused in the kernel. If they are needed in the future, they can be resurrected by reverting or studying this commit. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/soc/ixp4xx')
-rw-r--r--drivers/soc/ixp4xx/ixp4xx-qmgr.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/drivers/soc/ixp4xx/ixp4xx-qmgr.c b/drivers/soc/ixp4xx/ixp4xx-qmgr.c
index 412a346136d8..f3775346e007 100644
--- a/drivers/soc/ixp4xx/ixp4xx-qmgr.c
+++ b/drivers/soc/ixp4xx/ixp4xx-qmgr.c
@@ -96,18 +96,6 @@ int qmgr_stat_below_low_watermark(unsigned int queue)
}
/**
- * qmgr_stat_above_high_watermark() - checks if a queue is above high watermark
- * @queue: queue number
- *
- * Returns non-zero value if the queue is above high watermark
- */
-static int qmgr_stat_above_high_watermark(unsigned int queue)
-{
- BUG_ON(queue >= HALF_QUEUES);
- return __qmgr_get_stat1(queue) & QUEUE_STAT1_NEARLY_FULL;
-}
-
-/**
* qmgr_stat_full() - checks if a hardware queue is full
* @queue: queue number
*
@@ -122,17 +110,6 @@ int qmgr_stat_full(unsigned int queue)
}
/**
- * qmgr_stat_underflow() - checks if a hardware queue experienced underflow
- * @queue: queue number
- *
- * Returns non-zero value if the queue experienced underflow.
- */
-static int qmgr_stat_underflow(unsigned int queue)
-{
- return __qmgr_get_stat2(queue) & QUEUE_STAT2_UNDERFLOW;
-}
-
-/**
* qmgr_stat_overflow() - checks if a hardware queue experienced overflow
* @queue: queue number
*