mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
perf kmem: Fix unused argument build warning
Fix: builtin-kmem.c: In function 'parse_caller_opt': builtin-kmem.c:690: error: unused parameter 'arg' builtin-kmem.c: In function 'parse_alloc_opt': builtin-kmem.c:697: error: unused parameter 'arg' Cc: Li Zefan <[email protected]> Cc: Pekka Enberg <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
716d69e4fd
commit
7931241694
1 changed files with 2 additions and 2 deletions
|
|
@ -687,14 +687,14 @@ static int parse_sort_opt(const struct option *opt __used,
|
|||
}
|
||||
|
||||
static int parse_caller_opt(const struct option *opt __used,
|
||||
const char *arg, int unset __used)
|
||||
const char *arg __used, int unset __used)
|
||||
{
|
||||
caller_flag = (alloc_flag + 1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int parse_alloc_opt(const struct option *opt __used,
|
||||
const char *arg, int unset __used)
|
||||
const char *arg __used, int unset __used)
|
||||
{
|
||||
alloc_flag = (caller_flag + 1);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue