target/iscsi: Use min() in iscsit_dump_data_payload() instead of open-coding it
authorBart Van Assche <bart.vanassche@wdc.com>
Tue, 31 Oct 2017 18:03:14 +0000 (11:03 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 4 Nov 2017 22:15:50 +0000 (15:15 -0700)
commit919765e9680fe26acdcad782ee693f31dbde2def
treee37a2c7057a4b5ddff9e837675dba69073aee2fb
parent8d973ab5d4520f84e89aaa38e0a50bb2876b09eb
target/iscsi: Use min() in iscsit_dump_data_payload() instead of open-coding it

This patch does not change any functionality.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Mike Christie <mchristi@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target_erl1.c