[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200120.143943.2039981041531373204.davem@davemloft.net>
Date: Mon, 20 Jan 2020 14:39:43 +0100 (CET)
From: David Miller <davem@...emloft.net>
To: wanghai38@...wei.com
Cc: benh@...nel.crashing.org, paulus@...ba.org, mpe@...erman.id.au,
linux-ide@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ide: remove set but not used variable 'hwif'
From: Wang Hai <wanghai38@...wei.com>
Date: Sat, 26 Oct 2019 09:57:38 +0800
> Fix the following gcc warning:
>
> drivers/ide/pmac.c: In function pmac_ide_setup_device:
> drivers/ide/pmac.c:1027:14: warning: variable hwif set but not used
> [-Wunused-but-set-variable]
>
> Fixes: d58b0c39e32f ("powerpc/macio: Rework hotplug media bay support")
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Wang Hai <wanghai38@...wei.com>
Applied.
Powered by blists - more mailing lists