projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20a9ed2
)
perf tools: Remove misplaced __maybe_unused in some functions
author
Arnaldo Carvalho de Melo
<acme@redhat.com>
Tue, 18 Apr 2017 15:20:19 +0000
(12:20 -0300)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Wed, 19 Apr 2017 16:01:55 +0000
(13:01 -0300)
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>
tools/perf/util/build-id.c
patch
|
blob
|
history
diff --git
a/tools/perf/util/build-id.c
b/tools/perf/util/build-id.c
index b5c4892c2e18ad2f6279492eca89288dacdfe0c2..9815a3b6667ad0e5276bc38fe3fb4b4df13cff77 100644
(file)
--- a/
tools/perf/util/build-id.c
+++ b/
tools/perf/util/build-id.c
@@
-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)