summaryrefslogtreecommitdiff
path: root/iwinfo_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'iwinfo_lib.c')
-rw-r--r--iwinfo_lib.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/iwinfo_lib.c b/iwinfo_lib.c
index c30d834..0ab7be0 100644
--- a/iwinfo_lib.c
+++ b/iwinfo_lib.c
@@ -313,10 +313,6 @@ const struct iwinfo_iso3166_label IWINFO_ISO3166_NAMES[] = {
{ 0, "" }
};
-#ifndef ARRAY_SIZE
-#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
-#endif
-
static const struct iwinfo_ops *backends[] = {
#ifdef USE_NL80211
&nl80211_ops,