2
0
mirror of git://github.com/lxc/lxc synced 2025-08-31 13:39:32 +00:00

Change lxc_remove_nic from returning int to void

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>
This commit is contained in:
Stéphane Graber
2012-09-01 20:17:32 -04:00
parent 525421c923
commit 427b3a21ef

View 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;