diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2026-01-28 15:27:26 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-03-12 15:05:25 +0100 |
| commit | 7885af04df6e4efd72910200c1bfc079d61202e4 (patch) | |
| tree | af0af59a4fb94cc863cfa5d23b3065c0a65704e8 /tools/perf/scripts/python | |
| parent | 43c2b86ff633c34831c8430925ba73d7c20da1ad (diff) | |
serial: 8250_port: Drop duplicate NULL check
serial8250_release_dma() is NULL-aware, no need to check this in the caller.
While at it, make sure DMA won't be used again, by NULLifying the pointer.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://patch.msgid.link/20260128142726.128175-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
