Re: [PATCH 1/4] scsi: Add scsi_prot_op_normal()

From: Christoph Hellwig
Date: Tue Nov 20 2018 - 11:19:48 EST


> +static inline bool scsi_prot_op_normal(struct scsi_cmnd *scmd)
> +{
> + return scmd->prot_op == SCSI_PROT_NORMAL;
> +}

This "wrapper" just obsfucates the check being performed, please drop
it.