On 4/21/21 10:47 AM, Hannes Reinecke wrote:
+static inline bool scsi_result_is_good(struct scsi_cmnd *cmd) +{ + return (cmd->result == 0); +}
Do we really need an inline function to compare an integer with zero? How about open-coding this comparison in the callers of this function?
Thanks, Bart.