[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171102.155355.680097222661424519.davem@davemloft.net>
Date: Thu, 02 Nov 2017 15:53:55 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: tklauser@...tanz.ch, tremyfr@...il.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: dl2k: remove redundant re-assignment to np
From: Colin King <colin.king@...onical.com>
Date: Wed, 1 Nov 2017 08:57:37 +0000
> From: Colin Ian King <colin.king@...onical.com>
>
> The pointer np is initialized and then re-assigned the same value
> a few lines later. Remove the redundant duplicated assignment. Cleans
> up clang warning:
>
> drivers/net/ethernet/dlink/dl2k.c:314:25: warning: Value stored to
> 'np' during its initialization is never read
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied.
Powered by blists - more mailing lists