]> asedeno.scripts.mit.edu Git - linux.git/commit
parport: avoid assignment in if
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Wed, 28 Oct 2015 09:11:40 +0000 (14:41 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Jan 2016 00:32:59 +0000 (16:32 -0800)
commite0a7f1f04cd9bb13df7503ba7156ff0a37c9f460
tree79bba5716874a0570db82cd2ca4f2bc8da45a86e
parente732b93c3276548bfa903d79c2083b2c8dc552af
parport: avoid assignment in if

It is not an usual practise to assign some value to a variable in the if
test condition.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/parport/share.c