diff options
author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | 2021-05-22 00:42:00 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-06-03 09:29:25 +0200 |
commit | 97ba6931ba881ea23f3758bbbde7a07a98bff4f9 (patch) | |
tree | 7119a9b020511258040bf19ea25adbe171c39f30 /drivers | |
parent | nvme-fabrics: remove an extra comment (diff) | |
download | linux-97ba6931ba881ea23f3758bbbde7a07a98bff4f9.tar.xz linux-97ba6931ba881ea23f3758bbbde7a07a98bff4f9.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/nvme/host/fabrics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/fabrics.c b/drivers/nvme/host/fabrics.c index 78527690c947..1239a63e3ac2 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): |