Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Dec 2013 01:47:19 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r259987 - in stable: 10/sys/dev/sym 9/sys/dev/sym
Message-ID:  <201312280147.rBS1lJdB028612@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Sat Dec 28 01:47:19 2013
New Revision: 259987
URL: http://svnweb.freebsd.org/changeset/base/259987

Log:
  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.

Modified:
  stable/9/sys/dev/sym/sym_hipd.c
Directory Properties:
  stable/9/sys/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/10/sys/dev/sym/sym_hipd.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/9/sys/dev/sym/sym_hipd.c
==============================================================================
--- stable/9/sys/dev/sym/sym_hipd.c	Sat Dec 28 01:42:20 2013	(r259986)
+++ stable/9/sys/dev/sym/sym_hipd.c	Sat Dec 28 01:47:19 2013	(r259987)
@@ -151,16 +151,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)
@@ -222,17 +212,6 @@ static __inline struct sym_quehead *sym_
 
 #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.
  */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312280147.rBS1lJdB028612>