projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b946fe
)
nvmet-fc: remove unnecessary bracket
author
Daniel Wagner
<dwagner@suse.de>
Mon, 18 Dec 2023 15:30:50 +0000
(16:30 +0100)
committer
Keith Busch
<kbusch@kernel.org>
Wed, 3 Jan 2024 16:09:41 +0000
(08:09 -0800)
There is no need for the bracket around the identifier. Remove it.
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/target/fc.c
patch
|
blob
|
history
diff --git
a/drivers/nvme/target/fc.c
b/drivers/nvme/target/fc.c
index bd59990b525016fb05945d4f65aa199aab61da43..bda7a3009e85127ca27f99e107d61fbf1f3995f2 100644
(file)
--- a/
drivers/nvme/target/fc.c
+++ b/
drivers/nvme/target/fc.c
@@
-1031,7
+1031,7
@@
nvmet_fc_match_hostport(struct nvmet_fc_tgtport *tgtport, void *hosthandle)
list_for_each_entry(host, &tgtport->host_list, host_list) {
if (host->hosthandle == hosthandle && !host->invalid) {
if (nvmet_fc_hostport_get(host))
- return
(host)
;
+ return
host
;
}
}