[SCSI] aic7xxx: remove inquiry sniffing leftovers
authorChristoph Hellwig <hch@lst.de>
Thu, 21 Apr 2005 20:13:39 +0000 (16:13 -0400)
committerJames Bottomley <jejb@mulgrave.(none)>
Thu, 21 Apr 2005 20:13:39 +0000 (16:13 -0400)
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aic7xxx/aic7xxx_osm.c
drivers/scsi/aic7xxx/aic7xxx_osm.h

index e60f9338e44ad4a2eb938adcc70a491c9a09815d..d978e4a3e973742ca03475584f96e0b39fff0f48 100644 (file)
@@ -2335,8 +2335,6 @@ ahc_linux_free_target(struct ahc_softc *ahc, struct ahc_linux_target *targ)
                      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);
 }
 
index c401537067b65c25788cecf6b3c80be88272fc1c..ed9027bd8a40917ed2a8788ac7246e0be10219d5 100644 (file)
@@ -423,10 +423,6 @@ struct ahc_linux_device {
        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 @@ struct ahc_linux_target {
        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 ***********************/