Vladislav Efanov 6bea9ea6bb isa: Remove unnecessary checks
The isa_dev->dev.platform_data is initialized with incoming
parameter isa_driver. After it isa_dev->dev.platform_data is
checked for NULL, but incoming parameter isa_driver is not
NULL since it is dereferenced many times before this check.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Vladislav Efanov <VEfanov@ispras.ru>
Acked-by: William Breathitt Gray <william.gray@linaro.org>
Link: https://lore.kernel.org/r/20230517125025.434005-1-VEfanov@ispras.ru
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-31 19:03:39 +01:00
..
2023-04-27 11:53:57 -07:00
2023-01-22 12:56:55 +01:00
2023-03-23 13:21:24 +01:00
2023-04-27 11:53:57 -07:00
2023-05-31 19:03:39 +01:00
2021-06-15 17:14:36 +02:00
2021-06-15 17:14:36 +02:00