[PATCH 0/3] mei: remove unnecessary NULL pointer checks

From: Bjorn Helgaas
Date: Thu Feb 29 2024 - 13:14:37 EST


From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>

After .probe() has returned success, drvdata has been set to a non-NULL
value, so there's no need to check for NULL in other callbacks.

Bjorn Helgaas (3):
mei: gsc: remove unnecessary NULL pointer checks
mei: txe: remove unnecessary NULL pointer checks
mei: me: remove unnecessary NULL pointer checks

drivers/misc/mei/gsc-me.c | 17 ----------------
drivers/misc/mei/pci-me.c | 38 ++++++------------------------------
drivers/misc/mei/pci-txe.c | 40 ++++++--------------------------------
3 files changed, 12 insertions(+), 83 deletions(-)

--
2.34.1