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
9a124ef5
Commit
9a124ef5
authored
Mar 27, 2004
by
Bartlomiej Zolnierkiewicz
Committed by
Linus Torvalds
Mar 27, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] remove unused ide_hwif_t->pnp_dev
parent
71e34e17
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
drivers/ide/ide-pnp.c
drivers/ide/ide-pnp.c
+0
-1
include/linux/ide.h
include/linux/ide.h
+0
-2
No files found.
drivers/ide/ide-pnp.c
View file @
9a124ef5
...
...
@@ -64,7 +64,6 @@ static int idepnp_probe(struct pnp_dev * dev, const struct pnp_device_id *dev_id
if
(
index
!=
-
1
)
{
printk
(
KERN_INFO
"ide%d: generic PnP IDE interface
\n
"
,
index
);
pnp_set_drvdata
(
dev
,
hwif
);
hwif
->
pnp_dev
=
dev
;
return
0
;
}
...
...
include/linux/ide.h
View file @
9a124ef5
...
...
@@ -850,8 +850,6 @@ typedef struct hwif_s {
struct
pci_dev
*
pci_dev
;
/* for pci chipsets */
struct
ide_pci_device_s
*
cds
;
/* chipset device struct */
struct
pnp_dev
*
pnp_dev
;
/* for PnP devices */
ide_startstop_t
(
*
rw_disk
)(
ide_drive_t
*
,
struct
request
*
,
sector_t
);
#if 0
...
...
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