[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181120161940.GA10454@infradead.org>
Date: Tue, 20 Nov 2018 08:19:40 -0800
From: Christoph Hellwig <hch@...radead.org>
To: John Garry <john.garry@...wei.com>
Cc: jejb@...ux.vnet.ibm.com, martin.petersen@...cle.com,
linuxarm@...wei.com, linux-kernel@...r.kernel.org,
linux-scsi@...r.kernel.org
Subject: Re: [PATCH 1/4] scsi: Add scsi_prot_op_normal()
> +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.
Powered by blists - more mailing lists