summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-02-02 18:56:55 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-04 15:42:53 +0100
commita5e3faf161a3f225cd307f4a78e8b6673b2344bf (patch)
treefdaab1059d9df287926b8deb0475a2fef6967002 /scripts
parent0fc58931207445312987028936121b4eaf075d09 (diff)
downloadlinux-a5e3faf161a3f225cd307f4a78e8b6673b2344bf.tar.bz2
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 <jirislaby@kernel.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20220202165655.5647-1-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions