diff options
author | 2021-02-03 21:54:23 +0000 | |
---|---|---|
committer | 2021-02-04 10:20:10 +0100 | |
commit | e1a39a4460c17fa397020cd064744a908e2eac71 (patch) | |
tree | 6ec2de9986503621905e57d3053daa7dfdc3d632 /lib/test_bitmap.c | |
parent | platform/x86: ideapad-laptop: remove unnecessary dev_set_drvdata() call (diff) | |
download | linux-dev-e1a39a4460c17fa397020cd064744a908e2eac71.tar.xz linux-dev-e1a39a4460c17fa397020cd064744a908e2eac71.zip |
platform/x86: ideapad-laptop: remove unnecessary NULL checks
The checks that are removed test pointers which should not
be NULL. If they are NULL, that indicates a bug in
a different part of the kernel. Instead of silently
bailing out, let it fail loudly.
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Link: https://lore.kernel.org/r/20210203215403.290792-3-pobrn@protonmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions