diff options
author | Chen Zhongjin <[email protected]> | 2022-09-26 11:14:40 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-10-04 08:55:23 -0300 |
commit | b71536a4925e630466d2817e65a42f57f0f5b33e (patch) | |
tree | 0f1c26c3bff60c1ae55e7c654e7d862c7e8c0baa /drivers/usb/cdns3/cdns3-ti.c | |
parent | ec685de25b6718f85380bb4bbaacf23748708ad0 (diff) |
perf string: Remove unused macro K()
Unused macro reported by [-Wunused-macros].
This macro is introduced to calculate the 'unit' size, in:
d2fb8b4151a92223 ("perf tools: Add new perf_atoll() function to parse string representing size in bytes")
8ba7f6c2faada3ad ("saner perf_atoll()")
This commit has simplified the perf_atoll() function and remove the
'unit' variable. This macro is not deleted, but nowhere else is using
it.
A single letter macro is confusing and easy to be misused. So remove it
for code cleaning.
Signed-off-by: Chen Zhongjin <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Florian Fischer <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: John Garry <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions