summaryrefslogtreecommitdiff
path: root/drivers/scsi/aic7xxx/aic7xxx_osm.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2005-04-21 20:13:39 (GMT)
committerJames Bottomley <jejb@mulgrave.(none)>2005-04-21 20:13:39 (GMT)
commit0bdcd78ea2342ad1a9c79cac99eefcfd0b3f1c2b (patch)
treeb69beb037acd3e1329c3d17b0a8fd6f5762c335a /drivers/scsi/aic7xxx/aic7xxx_osm.c
parent1c97a12a29b49ad4432927eac076fd5e3dedece6 (diff)
downloadlinux-fsl-qoriq-0bdcd78ea2342ad1a9c79cac99eefcfd0b3f1c2b.tar.xz
[SCSI] aic7xxx: remove inquiry sniffing leftovers
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7xxx_osm.c')
-rw-r--r--drivers/scsi/aic7xxx/aic7xxx_osm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.c b/drivers/scsi/aic7xxx/aic7xxx_osm.c
index e60f933..d978e4a3 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)
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);
}