Bart Van Assche 68c3f904ed scsi: sd_zbc: Remove an assignment from sd_zbc_setup_report_cmnd()
Since nr_bytes == blk_rq_bytes(rq) == rq->__data_len, the
rq->__data_len = nr_bytes assignment does not modify the value of
rq->__data_len. Hence remove that assignment. Note: the code in
sd_done() that sets the residual to zero for zone report requests
is not affected by this patch.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-07-02 16:18:11 -04:00
..
2018-06-14 16:35:32 +09:00
2018-06-12 16:19:22 -07:00
2018-06-19 22:02:25 -04:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-10 13:01:12 -07:00
2018-06-12 16:19:22 -07:00
2018-06-10 13:01:12 -07:00
2017-12-04 20:32:53 -05:00
2018-06-19 22:02:25 -04:00
2018-05-01 23:31:40 -04:00
2018-06-19 22:02:25 -04:00
2018-06-19 22:02:25 -04:00
2018-06-19 22:02:25 -04:00
2018-06-12 16:19:22 -07:00
2018-05-18 12:03:51 -04:00
2018-06-19 22:02:25 -04:00
2018-06-19 22:02:25 -04:00
2018-06-14 16:35:32 +09:00
2017-08-25 17:21:10 -04:00
2018-06-19 22:02:25 -04:00
2018-06-19 22:02:25 -04:00
2018-06-12 16:19:22 -07:00
2018-06-10 13:01:12 -07:00
2018-06-10 13:01:12 -07:00
2017-11-14 16:23:44 -08:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2017-11-14 16:23:44 -08:00
2017-04-13 13:58:20 -04:00
2018-06-10 13:01:12 -07:00
2018-06-04 07:58:06 -07:00
2018-06-19 22:02:25 -04:00
2018-06-26 12:34:43 -04:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2017-04-26 18:32:29 -04:00
2018-06-10 13:01:12 -07:00
2018-05-01 23:30:12 -04:00