[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180122.105213.111724497958584270.davem@davemloft.net>
Date: Mon, 22 Jan 2018 10:52:13 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: dmitry.tarnyagin@...kless.no, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: caif: remove redundant re-assignment of pointer
pfrm
From: Colin King <colin.king@...onical.com>
Date: Mon, 22 Jan 2018 15:25:43 +0000
> From: Colin Ian King <colin.king@...onical.com>
>
> 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@...onical.com>
Ok, applied to net-next, thanks Colin.
Powered by blists - more mailing lists