diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-02-04 17:28:08 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-04 16:58:59 +0100 |
| commit | 186ab09930aac24fad59a56d22ea507c8505b84f (patch) | |
| tree | 6be81a53854b5bab50fa5779a33057006d1beaf1 /lib/mpi/mpi-sub-ui.c | |
| parent | 3c5b2f5b9a829992f3760395a64d6102f11fe62d (diff) | |
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 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
