summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2013-12-28 01:47:19 +0000
committerdim <dim@FreeBSD.org>2013-12-28 01:47:19 +0000
commite1aa82b3d2780d829e614f099cf9f1ab008d3c98 (patch)
treed383403ced99b677f50a7c097983d6fee689d4ad
parent03dc4a0e5e7989c4de44741ff39aae28e778e2c3 (diff)
downloadFreeBSD-src-e1aa82b3d2780d829e614f099cf9f1ab008d3c98.zip
FreeBSD-src-e1aa82b3d2780d829e614f099cf9f1ab008d3c98.tar.gz
MFC r259880:
In sys/dev/sym/sym_hipd.c, remove static functions sym_que_first(), sym_que_last() and sym_remque_tail(), which are all unused since r53790.
-rw-r--r--sys/dev/sym/sym_hipd.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/sys/dev/sym/sym_hipd.c b/sys/dev/sym/sym_hipd.c
index 3ace75b..75e770f 100644
--- a/sys/dev/sym/sym_hipd.c
+++ b/sys/dev/sym/sym_hipd.c
@@ -154,16 +154,6 @@ typedef struct sym_quehead {
(ptr)->flink = (ptr); (ptr)->blink = (ptr); \
} while (0)
-static __inline struct sym_quehead *sym_que_first(struct sym_quehead *head)
-{
- return (head->flink == head) ? NULL : head->flink;
-}
-
-static __inline struct sym_quehead *sym_que_last(struct sym_quehead *head)
-{
- return (head->blink == head) ? NULL : head->blink;
-}
-
static __inline void __sym_que_add(struct sym_quehead * new,
struct sym_quehead * blink,
struct sym_quehead * flink)
@@ -225,17 +215,6 @@ static __inline struct sym_quehead *sym_remque_head(struct sym_quehead *head)
#define sym_insque_tail(new, head) __sym_que_add(new, (head)->blink, head)
-static __inline struct sym_quehead *sym_remque_tail(struct sym_quehead *head)
-{
- struct sym_quehead *elem = head->blink;
-
- if (elem != head)
- __sym_que_del(elem->blink, head);
- else
- elem = NULL;
- return elem;
-}
-
/*
* This one may be useful.
*/
OpenPOWER on IntegriCloud