Re: [PATCH] net: caif: remove redundant re-assignment of pointer pfrm

From: David Miller
Date: Mon Jan 22 2018 - 10:52:19 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Mon, 22 Jan 2018 15:25:43 +0000

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The pointer pfrm is initialized and then later re-assigned the same
> value and hence the second assignment is redundant and can be removed.
>
> Cleans up clang warning:
> drivers/net/caif/caif_hsi.c:222:6: warning: Value stored to 'pfrm'
> during its initialization is never read
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Ok, applied to net-next, thanks Colin.