]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
nvme-fabrics: remove extra braces
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Fri, 21 May 2021 22:42:00 +0000 (15:42 -0700)
committerChristoph Hellwig <hch@lst.de>
Thu, 3 Jun 2021 07:29:25 +0000 (10:29 +0300)
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>
drivers/nvme/host/fabrics.c

index 78527690c94796846357534f6f84258f348a12b9..1239a63e3ac2d645740df66d0e4d994c7452e575 100644 (file)
@@ -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):