pid1: kill unit_file_find_dropin_paths() helper
It had two users, but it is just a very thin wrapper around unit_file_find_dropin_paths(), so using it seems more complicated than directly invoking unit_file_find_dropin_paths() twice.
This commit is contained in:
@@ -23,17 +23,3 @@ int unit_file_find_dropin_paths(
|
||||
const char *file_suffix,
|
||||
Set *names,
|
||||
char ***paths);
|
||||
|
||||
static inline int unit_file_find_dropin_conf_paths(
|
||||
const char *original_root,
|
||||
char **lookup_path,
|
||||
Set *unit_path_cache,
|
||||
Set *names,
|
||||
char ***paths) {
|
||||
|
||||
return unit_file_find_dropin_paths(original_root,
|
||||
lookup_path,
|
||||
unit_path_cache,
|
||||
".d", ".conf",
|
||||
names, paths);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user