]> git.karo-electronics.de Git - karo-tx-linux.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>
Wed, 24 Aug 2011 05:47:03 +0000 (22:47 -0700)
commit3973b5b5be3531a508a30bf5273ab193983c81c5
treee0b63d7938a78bfee4b21800a148676c0470cfe2
parentb0dbc2615ecf3a529d9b9f1865b155d0e014707e
[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