diff options
author | Barnabás Pőcze <pobrn@protonmail.com> | 2021-09-04 17:55:26 +0000 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-09-14 12:26:01 +0200 |
commit | 1ebe62bec4120fd79967edbe990f2eea285a6e80 (patch) | |
tree | 7d5f9d3925ce3a39c2a4311e5546a0b356790664 /mm/sparse.c | |
parent | e83c799270e15adfe1f6e7bcdf7a76db0f200e46 (diff) |
platform/x86: wmi: remove unnecessary checks
The `find_guid_context()` is only called from one place,
and `wblock` and `wdriver` cannot be NULL there.
So remove the currently redundant checks.
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Link: https://lore.kernel.org/r/20210904175450.156801-11-pobrn@protonmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions