perf tools: Remove misplaced __maybe_unused in some functions

Those args _are_ being used.

Link: http://lkml.kernel.org/n/tip-yi9s00ki1i1tcc704v042957@git.kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 20a9ed28
...@@ -451,14 +451,14 @@ void disable_buildid_cache(void) ...@@ -451,14 +451,14 @@ void disable_buildid_cache(void)
} }
static bool lsdir_bid_head_filter(const char *name __maybe_unused, static bool lsdir_bid_head_filter(const char *name __maybe_unused,
struct dirent *d __maybe_unused) struct dirent *d)
{ {
return (strlen(d->d_name) == 2) && return (strlen(d->d_name) == 2) &&
isxdigit(d->d_name[0]) && isxdigit(d->d_name[1]); isxdigit(d->d_name[0]) && isxdigit(d->d_name[1]);
} }
static bool lsdir_bid_tail_filter(const char *name __maybe_unused, static bool lsdir_bid_tail_filter(const char *name __maybe_unused,
struct dirent *d __maybe_unused) struct dirent *d)
{ {
int i = 0; int i = 0;
while (isxdigit(d->d_name[i]) && i < SBUILD_ID_SIZE - 3) while (isxdigit(d->d_name[i]) && i < SBUILD_ID_SIZE - 3)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment