On 06/23/2018 12:22 PM, Douglas Gilbert wrote:
Since the action "reprep" is called from two places, rather than repeat
the code, make a new scsi_io_completion helper with "reprep" as its
suffix.

Signed-off-by: Douglas Gilbert <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
---
  drivers/scsi/scsi_lib.c | 41 ++++++++++++++++++-----------------------
  1 file changed, 18 insertions(+), 23 deletions(-)

Reviewed-by: Hannes Reinecke <[email protected]>

Cheers,

Hannes

Reply via email to