[SCSI] be2iscsi: remove host and session casts
authorMike Christie <michaelc@cs.wisc.edu>
Mon, 25 Jul 2011 18:48:46 +0000 (13:48 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 27 Aug 2011 14:36:17 +0000 (08:36 -0600)
commit3093b0484d77ea774d74dfd7f5419831a716a9aa
tree34b1afe3fea1f90fa1acac25015da3647b1479f7
parentf27fb2ef7bd88c9c5f67befe4d85e2155aa0e1a8
[SCSI] be2iscsi: remove host and session casts

iscsi_session_to_shost is a macro around dev_to_shost which returns a
Scsi_Host so there is no need to cast.

iscsi_session_to_shost is a macro around shost_priv which
returns a void pointer so no need to cast.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/be2iscsi/be_iscsi.c