lkml.org 
[lkml]   [2022]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] X86: PCI: ACPI: Remove initialization of static variables to false
On Fri, Dec 03, 2021 at 04:07:58PM +0800, Longji Guo wrote:
> Remove the initialization of pci_ignore_seg to false which is pointless.
>
> Signed-off-by: Longji Guo <guolongji@uniontech.com>

Applied to pci/enumeration for v5.17, thanks!

> ---
> arch/x86/pci/acpi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c
> index 948656069cdd..052f1d78a562 100644
> --- a/arch/x86/pci/acpi.c
> +++ b/arch/x86/pci/acpi.c
> @@ -20,7 +20,7 @@ struct pci_root_info {
> };
>
> static bool pci_use_crs = true;
> -static bool pci_ignore_seg = false;
> +static bool pci_ignore_seg;
>
> static int __init set_use_crs(const struct dmi_system_id *id)
> {
> --
> 2.20.1
>
>
>

\
 
 \ /
  Last update: 2022-01-11 18:08    [W:3.260 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site