diff options
| author | Michael Straube <straube.linux@gmail.com> | 2023-10-21 14:19:47 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-21 22:53:08 +0200 |
| commit | e63771781beadbdef537f6de36f62c8e672a5b8f (patch) | |
| tree | 0068ef57874c61c58c0c5793900e605043b522a4 /tools/perf/scripts/python | |
| parent | staging: vme_user: Use dev_err() in vme_check_window() (diff) | |
| download | linux-e63771781beadbdef537f6de36f62c8e672a5b8f.tar.gz linux-e63771781beadbdef537f6de36f62c8e672a5b8f.zip | |
staging: rtl8192e: clean up comparisons to NULL
Clean up comparisons to NULL to improve readability.
Reported by checkpatch.
if (x == NULL) -> if (!x)
if (x != NULL) -> if (x)
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20231021121947.14516-1-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
