diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-02-04 18:28:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-04 18:58:59 +0300 |
commit | 186ab09930aac24fad59a56d22ea507c8505b84f (patch) | |
tree | 6be81a53854b5bab50fa5779a33057006d1beaf1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3c5b2f5b9a829992f3760395a64d6102f11fe62d (diff) | |
download | linux-186ab09930aac24fad59a56d22ea507c8505b84f.tar.xz |
serial: core: Drop duplicate NULL check in uart_*shutdown()
The free_page(addr), which becomes free_pages(addr, 0) checks addr
against 0. No need to repeat this check in the callers.
Acked-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220204152808.10808-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions