Re: [PATCH] mkiss: remove redundant check on len being zero

From: David Miller
Date: Sat Sep 30 2017 - 00:45:26 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Wed, 27 Sep 2017 22:45:13 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The check on len is redundant as it is always greater than 1,
> so just remove it and make the printk less complex.
>
> Detected by CoverityScan, CID#1226729 ("Logically dead code")
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied, thanks.