On Fri, Jul 17, 2026 at 10:38:32AM +0200, Markus Elfring wrote:
From: Markus Elfring <redacted>
Date: Fri, 17 Jul 2026 10:20:15 +0200
The check for the pointer “mucse” was identified as redundant because
the relevant address information was preserved according to calls of
the functions “pci_set_drvdata” and “pci_get_drvdata”.
Thus remove it.
This issue was detected by using the Coccinelle software.
See also:
Reconsidering pointer dereferences before null pointer checks (with SmPL)
2023-04-09
https://lore.kernel.org/cocci/1a11455f-ab57-dce0-1677-6beb8492a257@web.de/ (local)
https://sympa.inria.fr/sympa/arc/cocci/2023-04/msg00021.html
Signed-off-by: Markus Elfring <redacted>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew