]> pilppa.com Git - uci.git/commitdiff
remove some unused stuff
authorFelix Fietkau <nbd@openwrt.org>
Tue, 12 Feb 2008 10:53:49 +0000 (11:53 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 12 Feb 2008 10:53:49 +0000 (11:53 +0100)
uci.h

diff --git a/uci.h b/uci.h
index 5bc20612c3d8ade20044e8de29f49366711c9a61..ac85105443a0b5fac31c23baca7bd6dfd17f4e24 100644 (file)
--- a/uci.h
+++ b/uci.h
@@ -402,9 +402,6 @@ struct uci_history
  * @_type: config, section or option
  * @_ptr: pointer to the uci_list struct
  */
-#define element_to(type, ptr) \
-       container_of(ptr, struct uci_ ## type, e)
-
 #define list_to_element(ptr) \
        container_of(ptr, struct uci_element, list)