projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f860c9
)
nvme-fabrics: remove extra braces
author
Chaitanya Kulkarni
<chaitanya.kulkarni@wdc.com>
Fri, 21 May 2021 22:42:00 +0000
(15:42 -0700)
committer
Christoph 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
patch
|
blob
|
history
diff --git
a/drivers/nvme/host/fabrics.c
b/drivers/nvme/host/fabrics.c
index 78527690c94796846357534f6f84258f348a12b9..1239a63e3ac2d645740df66d0e4d994c7452e575 100644
(file)
--- 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):