btf_loader: Mark create_new_datasec() args as __maybe_unused

As it is just a stub for now.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2021-08-05 18:34:18 -03:00
parent 38df86db2b
commit 22763a8fc7
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ static int create_new_variable(struct cu *cu, const struct btf_type *tp, uint32_
return 0;
}
static int create_new_datasec(struct cu *cu, const struct btf_type *tp, uint32_t id)
static int create_new_datasec(struct cu *cu __maybe_unused, const struct btf_type *tp __maybe_unused, uint32_t id __maybe_unused)
{
//cu__add_tag_with_id(cu, &datasec->tag, id);