On Wed, 18 Apr 2018 17:01:15 +0200
Johannes Thumshirn <jthumsh...@suse.de> wrote:

> Introduce clear_scsi_result() and convert drivers over to use the new
> function.
> 

[ .. ]

Why not use 'set_scsi_result' here?
Basically everywhere the usage pattern is

clear_scsi_result()
set_host_byte()

so they can be collapsed into

set_scsi_result(cmd, 0, host_byte, 0, 0)

and this helper can be dropped.

Cheers,

Hannes

Reply via email to