perf tools: Remove misplaced __maybe_unused in some functions
Those args _are_ being used. Link: http://lkml.kernel.org/n/tip-yi9s00ki1i1tcc704v042957@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
20a9ed280d
commit
767fe71b2d
|
@ -451,14 +451,14 @@ void disable_buildid_cache(void)
|
|||
}
|
||||
|
||||
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) &&
|
||||
isxdigit(d->d_name[0]) && isxdigit(d->d_name[1]);
|
||||
}
|
||||
|
||||
static bool lsdir_bid_tail_filter(const char *name __maybe_unused,
|
||||
struct dirent *d __maybe_unused)
|
||||
struct dirent *d)
|
||||
{
|
||||
int i = 0;
|
||||
while (isxdigit(d->d_name[i]) && i < SBUILD_ID_SIZE - 3)
|
||||
|
|
Loading…
Reference in New Issue