[SCSI] aic7xxx: remove inquiry sniffing leftovers
[linux-2.6.git] / drivers / scsi / aic7xxx / aic7xxx_osm.c
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;
                      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);
 }
 
        free(targ, M_DEVBUF);
 }