diff options
| author | Colin Ian King <[email protected]> | 2021-07-30 10:07:10 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-08-27 14:18:42 +0000 |
| commit | 0be883a0d795d9146f5325de582584147dd0dcdc (patch) | |
| tree | b1f65c448d280c267c1a0cfb68e29fac41688d99 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | Merge tag 'soundwire-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff) | |
| download | kernel-0be883a0d795d9146f5325de582584147dd0dcdc.tar.gz kernel-0be883a0d795d9146f5325de582584147dd0dcdc.zip | |
parport: remove non-zero check on count
The check for count appears to be incorrect since a non-zero count
check occurs a couple of statements earlier. Currently the check is
always false and the dev->port->irq != PARPORT_IRQ_NONE part of the
check is never tested and the if statement is dead-code. Fix this
by removing the check on count.
Note that this code is pre-git history, so I can't find a sha for
it.
Acked-by: Sudip Mukherjee <[email protected]>
Signed-off-by: Colin Ian King <[email protected]>
Addresses-Coverity: ("Logically dead code")
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_virt.c')
0 files changed, 0 insertions, 0 deletions
