Skip to content

Commit

Permalink
ide: remove unused ide_hwgroup_t fields
Browse files Browse the repository at this point in the history
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Feb 1, 2008
1 parent 0424493 commit a6fbb1c
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions include/linux/ide.h
Original file line number Diff line number Diff line change
Expand Up @@ -628,8 +628,7 @@ typedef int (ide_expiry_t)(ide_drive_t *);
typedef struct hwgroup_s {
/* irq handler, if active */
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 */
volatile int busy;
/* BOOL: wake us up on timer expiry */
Expand All @@ -644,25 +643,18 @@ typedef struct hwgroup_s {
/* ptr to current hwif in linked-list */
ide_hwif_t *hwif;

/* for pci chipsets */
struct pci_dev *pci_dev;

/* current request */
struct request *rq;

/* failsafe timer */
struct timer_list timer;
/* local copy of current write rq */
struct request wrq;
/* timeout value during long polls */
unsigned long poll_timeout;
/* queried upon timeouts */
int (*expiry)(ide_drive_t *);
/* ide_system_bus_speed */
int pio_clock;

int req_gen;
int req_gen_timer;

unsigned char cmd_buf[4];
} ide_hwgroup_t;

typedef struct ide_driver_s ide_driver_t;
Expand Down

0 comments on commit a6fbb1c

Please sign in to comment.