From: Chaitanya Kulkarni Date: Fri, 21 May 2021 22:42:00 +0000 (-0700) Subject: nvme-fabrics: remove extra braces X-Git-Tag: v5.14-rc1~127^2~11^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97ba6931ba881ea23f3758bbbde7a07a98bff4f9;p=thirdparty%2Fkernel%2Fstable.git nvme-fabrics: remove extra braces No need to use the braces around ~ operator. No functionality change in this patch. Signed-off-by: Chaitanya Kulkarni Signed-off-by: Christoph Hellwig --- diff --git a/drivers/nvme/host/fabrics.c b/drivers/nvme/host/fabrics.c index 78527690c9479..1239a63e3ac2d 100644 --- a/drivers/nvme/host/fabrics.c +++ b/drivers/nvme/host/fabrics.c @@ -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):