staging: silicom: remove redundant pci_get_drvdata() call
authorDaeseok Youn <daeseok.youn@gmail.com>
Wed, 23 Apr 2014 08:18:42 +0000 (17:18 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2014 22:34:16 +0000 (15:34 -0700)
commit5397db900a3e67a86b21860289e80b5a8d8de4cf
treea074904fd1ccd772feb793faaf03a6e31f150e69
parent2f4285d17d3a5ae42e2811005dbcd4818d5d6ebe
staging: silicom: remove redundant pci_get_drvdata() call

The pci_get_drvdata() and checking NULL for dev are
called twice in while loop in is_bypass_dev().

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/silicom/bypasslib/bypass.c