diff options
| author | Vladislav Efanov <[email protected]> | 2023-05-17 15:50:25 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-05-31 19:03:39 +0100 |
| commit | 6bea9ea6bb21ccee2aad0aa2a845499e0aa2f7f9 (patch) | |
| tree | 1c6a24ece773cb3dbf35ee5ed6d2b56706d40905 /drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c | |
| parent | 54aa5b6044f89af046bcb7a9d0ca6408c0ebdd1f (diff) | |
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 <[email protected]>
Acked-by: William Breathitt Gray <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c')
0 files changed, 0 insertions, 0 deletions