]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit8bc983882f775fd5d83b071a05e5b5f44b013ec3
tree34b1afe3fea1f90fa1acac25015da3647b1479f7
parent0dc1b9f50fdb97f721ae476fca3e350b3de3dfae
[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