diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-06-23 14:52:09 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-06-25 12:36:13 -0500 |
commit | ec5e69f6d3f4350681d6f7eaae515cf014be9276 (patch) | |
tree | 32f175799563d803a17c71624d8eb98d317eee22 /drivers/scsi/esp_scsi.h | |
parent | eadc49b1a8d09480f14caea292142f103a89c77a (diff) |
[SCSI] esp: tidy up target reference counting
The esp driver currently does hand rolled reference counting of its
target. It's much easier to do what it needs to do if it's plugged into
the mid-layer callbacks (target_alloc and target_destroy) which were
designed for this case, so do it this way and get rid of the internal
target reference count.
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/esp_scsi.h')
-rw-r--r-- | drivers/scsi/esp_scsi.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/esp_scsi.h b/drivers/scsi/esp_scsi.h index 655e0b2240b..bb43a138818 100644 --- a/drivers/scsi/esp_scsi.h +++ b/drivers/scsi/esp_scsi.h @@ -322,7 +322,6 @@ struct esp_target_data { u8 nego_goal_tags; struct scsi_target *starget; - int starget_ref; }; struct esp_event_ent { |