Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 767fe71b authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo
Browse files

perf tools: Remove misplaced __maybe_unused in some functions

parent 20a9ed28
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)