]> Git Repo - linux.git/commit
scsi: sd: Remove a superfluous assignment
authorBart Van Assche <[email protected]>
Mon, 25 Jun 2018 23:49:38 +0000 (16:49 -0700)
committerMartin K. Petersen <[email protected]>
Tue, 26 Jun 2018 16:34:43 +0000 (12:34 -0400)
commit2b33ab371e026cfcea4cbdf233c6b8776dde9ba8
tree752f64dbabdc080c42590dddf7a1d418b87c3afc
parentc2cdef95160440ed6291bc343139d958ba3261e4
scsi: sd: Remove a superfluous assignment

Since blk_rq_bytes(req) returns req->__data_len, assigning that value to
req->__data_len is superfluous. Hence remove that assignment.

See also commit 5db44863b6eb ("[SCSI] sd: Implement support for WRITE SAME").

Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
drivers/scsi/sd.c
This page took 0.051181 seconds and 4 git commands to generate.