]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
return stray code in util
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 16 Sep 2008 19:21:13 +0000 (21:21 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Tue, 16 Sep 2008 19:21:13 +0000 (21:21 +0200)
util.c

diff --git a/util.c b/util.c
index b1565c5f15fdd2bdab87b9e70af6253a8abb3a85..0212867a2914116869f9e42140841e1621ff7e39 100644 (file)
--- a/util.c
+++ b/util.c
@@ -65,10 +65,3 @@ const char *iftype_name(enum nl80211_iftype iftype)
        sprintf(modebuf, "Unknown mode (%d)", iftype);
        return modebuf;
 }
-
-int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, void *arg)
-{
-       int *ret = arg;
-       *ret = err->error;
-       return NL_STOP;
-}