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

From: David Miller
Date: Wed Mar 15 2017 - 18:06:26 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Wed, 15 Mar 2017 15:31:58 +0000

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>

Applied.