mirror of
git://github.com/lxc/lxc
synced 2025-09-03 16:29:38 +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:
@@ -2362,7 +2362,7 @@ int run_lxc_hooks(const char *name, char *hook, struct lxc_conf *conf)
|
|||||||
return 0;
|
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_netdev *netdev = it->elem;
|
||||||
struct lxc_list *it2;
|
struct lxc_list *it2;
|
||||||
|
Reference in New Issue
Block a user