Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
8928d5a6
Commit
8928d5a6
authored
Jan 24, 2014
by
Bjorn Helgaas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86/PCI: Remove unnecessary local variable initialization
Signed-off-by:
Bjorn Helgaas
<
bhelgaas@google.com
>
parent
ce300008
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
arch/x86/pci/acpi.c
arch/x86/pci/acpi.c
+2
-2
No files found.
arch/x86/pci/acpi.c
View file @
8928d5a6
...
@@ -473,11 +473,11 @@ probe_pci_root_info(struct pci_root_info *info, struct acpi_device *device,
...
@@ -473,11 +473,11 @@ probe_pci_root_info(struct pci_root_info *info, struct acpi_device *device,
struct
pci_bus
*
pci_acpi_scan_root
(
struct
acpi_pci_root
*
root
)
struct
pci_bus
*
pci_acpi_scan_root
(
struct
acpi_pci_root
*
root
)
{
{
struct
acpi_device
*
device
=
root
->
device
;
struct
acpi_device
*
device
=
root
->
device
;
struct
pci_root_info
*
info
=
NULL
;
struct
pci_root_info
*
info
;
int
domain
=
root
->
segment
;
int
domain
=
root
->
segment
;
int
busnum
=
root
->
secondary
.
start
;
int
busnum
=
root
->
secondary
.
start
;
LIST_HEAD
(
resources
);
LIST_HEAD
(
resources
);
struct
pci_bus
*
bus
=
NULL
;
struct
pci_bus
*
bus
;
struct
pci_sysdata
*
sd
;
struct
pci_sysdata
*
sd
;
int
node
;
int
node
;
#ifdef CONFIG_ACPI_NUMA
#ifdef CONFIG_ACPI_NUMA
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment