* [PATCH] aic7xxx: remove inquiry sniffing leftovers
@ 2005-04-19 17:40 Christoph Hellwig
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2005-04-19 17:40 UTC (permalink / raw)
To: jejb; +Cc: linux-scsi
--- 1.66/drivers/scsi/aic7xxx/aic7xxx_osm.c 2005-04-17 19:03:05 +02:00
+++ edited/drivers/scsi/aic7xxx/aic7xxx_osm.c 2005-04-19 21:33:10 +02:00
@@ -2335,8 +2335,6 @@
AHC_TRANS_GOAL, /*paused*/FALSE);
ahc_update_neg_request(ahc, &devinfo, tstate, tinfo, AHC_NEG_ALWAYS);
ahc->platform_data->targets[target_offset] = NULL;
- if (targ->inq_data != NULL)
- free(targ->inq_data, M_DEVBUF);
free(targ, M_DEVBUF);
}
--- 1.60/drivers/scsi/aic7xxx/aic7xxx_osm.h 2005-04-17 19:03:06 +02:00
+++ edited/drivers/scsi/aic7xxx/aic7xxx_osm.h 2005-04-19 21:33:46 +02:00
@@ -423,10 +423,6 @@
struct ahc_linux_target *target;
};
-typedef enum {
- AHC_INQ_VALID = 0x02,
-} ahc_linux_targ_flags;
-
struct ahc_linux_target {
struct ahc_linux_device *devices[AHC_NUM_LUNS];
int channel;
@@ -434,8 +430,6 @@
int refcount;
struct ahc_transinfo last_tinfo;
struct ahc_softc *ahc;
- ahc_linux_targ_flags flags;
- struct scsi_inquiry_data *inq_data;
};
/********************* Definitions Required by the Core ***********************/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-04-19 17:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-19 17:40 [PATCH] aic7xxx: remove inquiry sniffing leftovers Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox