projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c2e3bf
)
fs: dlm: remove double list_first_entry call
author
Alexander Aring
<aahringo@redhat.com>
Wed, 3 Nov 2021 21:04:18 +0000
(17:04 -0400)
committer
David Teigland
<teigland@redhat.com>
Wed, 3 Nov 2021 21:07:20 +0000
(16:07 -0500)
This patch removes a list_first_entry() call which is already done by
the previous con_next_wq() call.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lowcomms.c
patch
|
blob
|
history
diff --git
a/fs/dlm/lowcomms.c
b/fs/dlm/lowcomms.c
index 3f8b015ba7990e65a0eff50361f19b86b76d1739..2f070514b3eed9db12cc99419c6f4890162389f0 100644
(file)
--- a/
fs/dlm/lowcomms.c
+++ b/
fs/dlm/lowcomms.c
@@
-1405,7
+1405,6
@@
static void send_to_sock(struct connection *con)
if (!e)
break;
- e = list_first_entry(&con->writequeue, struct writequeue_entry, list);
len = e->len;
offset = e->offset;
BUG_ON(len == 0 && e->users == 0);