aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-02-02 18:56:55 +0200
committerGreg Kroah-Hartman <[email protected]>2022-02-04 15:42:53 +0100
commita5e3faf161a3f225cd307f4a78e8b6673b2344bf (patch)
treefdaab1059d9df287926b8deb0475a2fef6967002 /tools/perf/scripts/python
parent0fc58931207445312987028936121b4eaf075d09 (diff)
amiserial: Drop duplicate NULL check in shutdown()
The free_page(addr), which becomes free_pages(addr, 0) checks addr against 0. No need to repeat this check in the caller. Acked-by: Jiri Slaby <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions