]> git.proxmox.com Git - mirror_lxc.git/commitdiff
Change lxc_remove_nic from returning int to void
authorStéphane Graber <stgraber@ubuntu.com>
Sun, 2 Sep 2012 00:17:32 +0000 (20:17 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 12 Nov 2012 18:17:30 +0000 (13:17 -0500)
The function wasn't returning anything and none of the callers
were checking for a return code.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/conf.c

index 2862b80841b22c922d2a0c657836a722243e89e4..c6e507e4194cbd8b265ae41e744e4d77e527a56e 100644 (file)
@@ -2362,7 +2362,7 @@ int run_lxc_hooks(const char *name, char *hook, struct lxc_conf *conf)
        return 0;
 }
 
-static int lxc_remove_nic(struct lxc_list *it)
+static void lxc_remove_nic(struct lxc_list *it)
 {
        struct lxc_netdev *netdev = it->elem;
        struct lxc_list *it2;