Commit 427b3a21 by Stéphane Graber

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: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent 525421c9
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment