nvme-fabrics: remove extra braces
No need to use the braces around ~ operator. No functionality change in this patch. Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
Родитель
6f860c9225
Коммит
97ba6931ba
|
@ -271,7 +271,7 @@ static void nvmf_log_connect_error(struct nvme_ctrl *ctrl,
|
|||
int errval, int offset, struct nvme_command *cmd,
|
||||
struct nvmf_connect_data *data)
|
||||
{
|
||||
int err_sctype = errval & (~NVME_SC_DNR);
|
||||
int err_sctype = errval & ~NVME_SC_DNR;
|
||||
|
||||
switch (err_sctype) {
|
||||
case (NVME_SC_CONNECT_INVALID_PARAM):
|
||||
|
|
Загрузка…
Ссылка в новой задаче