netxen_nic: remove redundant check if retries is zero
authorColin Ian King <colin.king@canonical.com>
Wed, 15 Mar 2017 15:31:58 +0000 (15:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Mar 2017 22:04:08 +0000 (15:04 -0700)
commit5b7696499c68a6b84127018d063649597e31627a
treeecc9c0bf6e9ff473528697dc438b70e038749ffb
parenta28453c042f7fe1760ae5aa0fb8fa80c751bcb64
netxen_nic: remove redundant check if retries is zero

At the end of the timeout loop, retries will always be zero so
the check for zero is redundant so remove it.  Also replace
printk with pr_err as recommended by checkpatch.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c