lkml.org 
[lkml]   [2020]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH][V2] net: hns3: remove redundant initialization of pointer 'client'
From
From: Colin King <colin.king@canonical.com>
Date: Mon, 24 Feb 2020 19:20:22 +0000

> From: Colin Ian King <colin.king@canonical.com>
>
> The pointer 'client' is being initialized with a value that is never
> read, it is being updated later on. The initialization is redundant
> and can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>
> V2: use reverse christmas tree ordering of local variables

Applied to net-next, thanks Colin.

\
 
 \ /
  Last update: 2020-02-24 20:23    [W:0.030 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site