Files
linux/drivers/parport
Colin Ian King 3435f13608 parport: remove non-zero check on count
[ Upstream commit 0be883a0d7 ]

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 <sudipm.mukherjee@gmail.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Addresses-Coverity: ("Logically dead code")
Link: https://lore.kernel.org/r/20210730100710.27405-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-16 11:46:21 +09:00
..
2005-04-16 15:20:36 -07:00
2011-03-31 11:26:23 -03:00
2014-07-25 18:00:23 -07:00
2006-06-25 10:01:09 -07:00
2005-04-16 15:20:36 -07:00
2016-04-30 13:56:46 -07:00
2005-04-16 15:20:36 -07:00