[PATCH -next] PCI: rpaphp: remove set but not used variable 'value'
Michael Ellerman
patch-notifications at ellerman.id.au
Thu Mar 26 23:06:49 AEDT 2020
On Thu, 2020-03-12 at 14:04:12 UTC, Chen Zhou wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/pci/hotplug/rpaphp_core.c: In function is_php_type:
> drivers/pci/hotplug/rpaphp_core.c:291:16: warning:
> variable value set but not used [-Wunused-but-set-variable]
>
> Reported-by: Hulk Robot <hulkci at huawei.com>
> Signed-off-by: Chen Zhou <chenzhou10 at huawei.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/9475af081ec1fb6cc794a17ae90f2c01aa8a7993
cheers
More information about the Linuxppc-dev
mailing list