summaryrefslogtreecommitdiff
path: root/mm/sparse.c
diff options
context:
space:
mode:
authorBarnabás Pőcze <pobrn@protonmail.com>2021-09-04 17:55:26 +0000
committerHans de Goede <hdegoede@redhat.com>2021-09-14 12:26:01 +0200
commit1ebe62bec4120fd79967edbe990f2eea285a6e80 (patch)
tree7d5f9d3925ce3a39c2a4311e5546a0b356790664 /mm/sparse.c
parente83c799270e15adfe1f6e7bcdf7a76db0f200e46 (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