Re: [PATCH] netxen_nic: remove redundant check if retries is zero

2017-03-15 Thread David Miller
From: Colin King Date: Wed, 15 Mar 2017 15:31:58 + > From: Colin Ian King > > 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

[PATCH] netxen_nic: remove redundant check if retries is zero

2017-03-15 Thread Colin King
From: Colin Ian King 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 --- drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c | 9 ++---