]> Pileus Git - ~andy/linux/commit
tcm_vhost: remove unused variable in vhost_scsi_allocate_cmd()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 7 Nov 2012 12:53:25 +0000 (20:53 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 6 Dec 2012 15:09:19 +0000 (17:09 +0200)
commit405d55c99da7a3045275fdb1a30614293a53c6e7
tree7e2669fdb3125c0ee2e42a6c6a01bb8a612ef36f
parentf9611c43ab0ddaf547b395c90fb842f55959334c
tcm_vhost: remove unused variable in vhost_scsi_allocate_cmd()

The variable se_sess is initialized but never used
otherwise, so remove the unused variable.

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/tcm_vhost.c