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
nexedi
linux
Commits
ea5c8af9
Commit
ea5c8af9
authored
Oct 11, 2008
by
Len Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ACPI: remove unused acpi_is_child_device()
Signed-off-by:
Len Brown
<
len.brown@intel.com
>
parent
39a0ad87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
drivers/acpi/scan.c
drivers/acpi/scan.c
+0
-14
No files found.
drivers/acpi/scan.c
View file @
ea5c8af9
...
...
@@ -1160,20 +1160,6 @@ static int acpi_bus_remove(struct acpi_device *dev, int rmdevice)
return
0
;
}
static
int
acpi_is_child_device
(
struct
acpi_device
*
device
,
int
(
*
matcher
)(
struct
acpi_device
*
))
{
int
result
=
-
ENODEV
;
do
{
if
(
ACPI_SUCCESS
(
matcher
(
device
)))
return
AE_OK
;
}
while
((
device
=
device
->
parent
));
return
result
;
}
static
int
acpi_add_single_object
(
struct
acpi_device
**
child
,
struct
acpi_device
*
parent
,
acpi_handle
handle
,
int
type
,
...
...
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