Skip to content

Commit dfefbec

Browse files
committed
Remove unneeded static function oscap_action_postprocess
1 parent 71fd5c9 commit dfefbec

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

utils/oscap-tool.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,6 @@ static void oscap_action_release(struct oscap_action *action)
6767
cvss_impact_free(action->cvss_impact);
6868
}
6969

70-
71-
static bool oscap_action_postprocess(struct oscap_action *action)
72-
{
73-
return true;
74-
}
75-
7670
static size_t paramlist_size(const char **p) { size_t s = 0; if (!p) return s; while (p[s]) s += 2; return s; }
7771

7872
static size_t paramlist_cpy(const char **to, const char **p) {
@@ -267,9 +261,7 @@ int oscap_module_call(struct oscap_action *action)
267261
assert(action->module != NULL);
268262

269263
if (action->module->func) {
270-
if (oscap_action_postprocess(action))
271-
return action->module->func(action);
272-
else return OSCAP_ERR_FETCH;
264+
return action->module->func(action);
273265
}
274266
return OSCAP_UNIMPL_MOD;
275267
}

0 commit comments

Comments
 (0)