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
f612d35e
Commit
f612d35e
authored
Sep 26, 2003
by
Patrick Mochel
Committed by
Greg Kroah-Hartman
Sep 26, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Remove ->save_state() from vlsi_ir.c
Remove the unneeded and uncalled struct pci_driver::save_state().
parent
3bbeb353
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
drivers/net/irda/vlsi_ir.c
drivers/net/irda/vlsi_ir.c
+0
-10
No files found.
drivers/net/irda/vlsi_ir.c
View file @
f612d35e
...
...
@@ -1859,15 +1859,6 @@ static void __devexit vlsi_irda_remove(struct pci_dev *pdev)
* otherwise we might get cheated by pci-pm.
*/
static
int
vlsi_irda_save_state
(
struct
pci_dev
*
pdev
,
u32
state
)
{
if
(
state
<
1
||
state
>
3
)
{
ERROR
(
"%s - %s: invalid pm state request: %u
\n
"
,
__FUNCTION__
,
PCIDEV_NAME
(
pdev
),
state
);
return
-
1
;
}
return
0
;
}
static
int
vlsi_irda_suspend
(
struct
pci_dev
*
pdev
,
u32
state
)
{
...
...
@@ -1970,7 +1961,6 @@ static struct pci_driver vlsi_irda_driver = {
.
probe
=
vlsi_irda_probe
,
.
remove
=
__devexit_p
(
vlsi_irda_remove
),
#ifdef CONFIG_PM
.
save_state
=
vlsi_irda_save_state
,
.
suspend
=
vlsi_irda_suspend
,
.
resume
=
vlsi_irda_resume
,
#endif
...
...
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