Home
last modified time | relevance | path

Searched hist:ec5cbf0422500ada7682a95e5c379dd13dd3a74c (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/scsi/
H A Dhpsa.cdiff ec5cbf0422500ada7682a95e5c379dd13dd3a74c Fri Jan 23 16:44:45 CST 2015 Webb Scales <webbnh@hp.com> hpsa: move SG descriptor set-up out of hpsa_scatter_gather()

Move the code which sets up the SG descriptor out of hpsa_scatter_gather()
and into a subroutine where it can be reused (in the next patch). The Ext
field is now assigned unconditionally: this makes the refactor much simpler,
but more importantly it removes a conditional operation from inside the
loop. The case for which the conditional formerly tested is now executed
(unconditionally) after the loop is exited.

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Signed-off-by: Webb Scales <webbnh@hp.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>