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
a6fbb1c8
Commit
a6fbb1c8
authored
Feb 01, 2008
by
Bartlomiej Zolnierkiewicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ide: remove unused ide_hwgroup_t fields
Signed-off-by:
Bartlomiej Zolnierkiewicz
<
bzolnier@gmail.com
>
parent
04244937
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
11 deletions
+3
-11
include/linux/ide.h
include/linux/ide.h
+3
-11
No files found.
include/linux/ide.h
View file @
a6fbb1c8
...
@@ -628,8 +628,7 @@ typedef int (ide_expiry_t)(ide_drive_t *);
...
@@ -628,8 +628,7 @@ typedef int (ide_expiry_t)(ide_drive_t *);
typedef
struct
hwgroup_s
{
typedef
struct
hwgroup_s
{
/* irq handler, if active */
/* irq handler, if active */
ide_startstop_t
(
*
handler
)(
ide_drive_t
*
);
ide_startstop_t
(
*
handler
)(
ide_drive_t
*
);
/* irq handler, suspended if active */
ide_startstop_t
(
*
handler_save
)(
ide_drive_t
*
);
/* BOOL: protects all fields below */
/* BOOL: protects all fields below */
volatile
int
busy
;
volatile
int
busy
;
/* BOOL: wake us up on timer expiry */
/* BOOL: wake us up on timer expiry */
...
@@ -644,25 +643,18 @@ typedef struct hwgroup_s {
...
@@ -644,25 +643,18 @@ typedef struct hwgroup_s {
/* ptr to current hwif in linked-list */
/* ptr to current hwif in linked-list */
ide_hwif_t
*
hwif
;
ide_hwif_t
*
hwif
;
/* for pci chipsets */
struct
pci_dev
*
pci_dev
;
/* current request */
/* current request */
struct
request
*
rq
;
struct
request
*
rq
;
/* failsafe timer */
/* failsafe timer */
struct
timer_list
timer
;
struct
timer_list
timer
;
/* local copy of current write rq */
struct
request
wrq
;
/* timeout value during long polls */
/* timeout value during long polls */
unsigned
long
poll_timeout
;
unsigned
long
poll_timeout
;
/* queried upon timeouts */
/* queried upon timeouts */
int
(
*
expiry
)(
ide_drive_t
*
);
int
(
*
expiry
)(
ide_drive_t
*
);
/* ide_system_bus_speed */
int
pio_clock
;
int
req_gen
;
int
req_gen
;
int
req_gen_timer
;
int
req_gen_timer
;
unsigned
char
cmd_buf
[
4
];
}
ide_hwgroup_t
;
}
ide_hwgroup_t
;
typedef
struct
ide_driver_s
ide_driver_t
;
typedef
struct
ide_driver_s
ide_driver_t
;
...
...
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