Re: [PATCH] staging: silicom: remove redundant pci_get_drvdata() call

2014-04-23 Thread Dan Carpenter
On Wed, Apr 23, 2014 at 05:18:42PM +0900, Daeseok Youn wrote: 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.y...@gmail.com --- This patch has an warning from checkpatch.pl. checkpatch.pl warning:

Re: [PATCH] staging: silicom: remove redundant pci_get_drvdata() call

2014-04-23 Thread DaeSeok Youn
2014-04-23 17:35 GMT+09:00, Dan Carpenter dan.carpen...@oracle.com: On Wed, Apr 23, 2014 at 05:18:42PM +0900, Daeseok Youn wrote: 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.y...@gmail.com --- This