From: Yu Watanabe Date: Tue, 13 Feb 2018 05:21:13 +0000 (+0900) Subject: core/namespace: remove unused argument X-Git-Tag: v238~79^2~16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f5c52a7724781fb40d55f5ad1f5065fb5903d00c;p=thirdparty%2Fsystemd.git core/namespace: remove unused argument --- diff --git a/src/core/namespace.c b/src/core/namespace.c index 5dd2cc7c3ad..a5782ece7a0 100644 --- a/src/core/namespace.c +++ b/src/core/namespace.c @@ -938,7 +938,6 @@ static unsigned namespace_calculate_mounts( char** read_only_paths, char** inaccessible_paths, char** empty_directories, - const BindMount *bind_mounts, unsigned n_bind_mounts, const char* tmp_dir, const char* var_tmp_dir, @@ -1056,7 +1055,7 @@ int setup_namespace( read_only_paths, inaccessible_paths, empty_directories, - bind_mounts, n_bind_mounts, + n_bind_mounts, tmp_dir, var_tmp_dir, protect_home, protect_system);