[PATCH] openbsc[master]: remove llist_first/last from gtphub.c, now in libosmocore

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Wed Feb 15 00:17:16 UTC 2017


Review at  https://gerrit.osmocom.org/1825

remove llist_first/last from gtphub.c, now in libosmocore

Change-Id: Ie682c681f6a785690b660ca31fae2c3893f49846
Depends: libosmocore change-id I296b7cf1c7cb07b24c2e17084b03fed321c53a7c
---
M openbsc/src/gprs/gtphub.c
1 file changed, 0 insertions(+), 11 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/25/1825/1

diff --git a/openbsc/src/gprs/gtphub.c b/openbsc/src/gprs/gtphub.c
index 03aca74..5cb2ad7 100644
--- a/openbsc/src/gprs/gtphub.c
+++ b/openbsc/src/gprs/gtphub.c
@@ -57,17 +57,6 @@
 /* TODO move this to osmocom/core/select.h ? */
 typedef int (*osmo_fd_cb_t)(struct osmo_fd *fd, unsigned int what);
 
-/* TODO move this to osmocom/core/linuxlist.h ? */
-#ifndef __llist_first
-#define __llist_first(head) (((head)->next == (head)) ? NULL : (head)->next)
-#define llist_first(head, type, entry) \
-	llist_entry(__llist_first(head), type, entry)
-
-#define __llist_last(head) (((head)->next == (head)) ? NULL : (head)->prev)
-#define llist_last(head, type, entry) \
-	llist_entry(__llist_last(head), type, entry)
-#endif
-
 /* TODO move GTP header stuff to openggsn/gtp/ ? See gtp_decaps*() */
 
 enum gtp_rc {

-- 
To view, visit https://gerrit.osmocom.org/1825
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie682c681f6a785690b660ca31fae2c3893f49846
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>


More information about the gerrit-log mailing list