Merge branch 'misc.namei' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-microblaze.git] / net / mac802154 / iface.c
index 1cf5ac0..323d3d2 100644 (file)
@@ -617,7 +617,7 @@ ieee802154_if_add(struct ieee802154_local *local, const char *name,
 {
        struct net_device *ndev = NULL;
        struct ieee802154_sub_if_data *sdata = NULL;
-       int ret = -ENOMEM;
+       int ret;
 
        ASSERT_RTNL();