diff options
| -rw-r--r-- | drivers/scsi/aic7xxx/aic7xxx_osm.c | 2 | ||||
| -rw-r--r-- | drivers/scsi/aic7xxx/aic7xxx_osm.h | 6 |
2 files changed, 0 insertions, 8 deletions
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.c b/drivers/scsi/aic7xxx/aic7xxx_osm.c index e60f9338e44a..d978e4a3e973 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_osm.c +++ b/drivers/scsi/aic7xxx/aic7xxx_osm.c | |||
| @@ -2335,8 +2335,6 @@ ahc_linux_free_target(struct ahc_softc *ahc, struct ahc_linux_target *targ) | |||
| 2335 | AHC_TRANS_GOAL, /*paused*/FALSE); | 2335 | AHC_TRANS_GOAL, /*paused*/FALSE); |
| 2336 | ahc_update_neg_request(ahc, &devinfo, tstate, tinfo, AHC_NEG_ALWAYS); | 2336 | ahc_update_neg_request(ahc, &devinfo, tstate, tinfo, AHC_NEG_ALWAYS); |
| 2337 | ahc->platform_data->targets[target_offset] = NULL; | 2337 | ahc->platform_data->targets[target_offset] = NULL; |
| 2338 | if (targ->inq_data != NULL) | ||
| 2339 | free(targ->inq_data, M_DEVBUF); | ||
| 2340 | free(targ, M_DEVBUF); | 2338 | free(targ, M_DEVBUF); |
| 2341 | } | 2339 | } |
| 2342 | 2340 | ||
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.h b/drivers/scsi/aic7xxx/aic7xxx_osm.h index c401537067b6..ed9027bd8a40 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_osm.h +++ b/drivers/scsi/aic7xxx/aic7xxx_osm.h | |||
| @@ -423,10 +423,6 @@ struct ahc_linux_device { | |||
| 423 | struct ahc_linux_target *target; | 423 | struct ahc_linux_target *target; |
| 424 | }; | 424 | }; |
| 425 | 425 | ||
| 426 | typedef enum { | ||
| 427 | AHC_INQ_VALID = 0x02, | ||
| 428 | } ahc_linux_targ_flags; | ||
| 429 | |||
| 430 | struct ahc_linux_target { | 426 | struct ahc_linux_target { |
| 431 | struct ahc_linux_device *devices[AHC_NUM_LUNS]; | 427 | struct ahc_linux_device *devices[AHC_NUM_LUNS]; |
| 432 | int channel; | 428 | int channel; |
| @@ -434,8 +430,6 @@ struct ahc_linux_target { | |||
| 434 | int refcount; | 430 | int refcount; |
| 435 | struct ahc_transinfo last_tinfo; | 431 | struct ahc_transinfo last_tinfo; |
| 436 | struct ahc_softc *ahc; | 432 | struct ahc_softc *ahc; |
| 437 | ahc_linux_targ_flags flags; | ||
| 438 | struct scsi_inquiry_data *inq_data; | ||
| 439 | }; | 433 | }; |
| 440 | 434 | ||
| 441 | /********************* Definitions Required by the Core ***********************/ | 435 | /********************* Definitions Required by the Core ***********************/ |
