target: simplify target_xcopy_init_pt_lun
authorChristoph Hellwig <hch@lst.de>
Tue, 7 Apr 2015 17:11:17 +0000 (19:11 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 8 Apr 2015 06:28:00 +0000 (23:28 -0700)
commit2c336e3a2e1728d9b3116422655832184dc7046c
treef05ba57e8b97922c352d2007e077b679a847d223
parentc3d0a7c21db219ef87679c2a667aba9f138524db
target: simplify target_xcopy_init_pt_lun

Drop unused argument & return value and consolidate a duplicate assignment.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_xcopy.c