summaryrefslogtreecommitdiffstats
path: root/fs/dlm/midcomms.c
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2024-05-28 23:12:33 +0200
committerDavid Teigland <teigland@redhat.com>2024-05-31 18:04:54 +0200
commitf49da8c09f93ad2b220ee44091123aa9693eefde (patch)
treed04a34fe491a3f288a67a92a32aa180cac3f6b80 /fs/dlm/midcomms.c
parentdlm: don't kref_init rsbs created for toss list (diff)
downloadlinux-f49da8c09f93ad2b220ee44091123aa9693eefde.tar.xz
linux-f49da8c09f93ad2b220ee44091123aa9693eefde.zip
dlm: remove unused parameter in dlm_midcomms_addr
This patch removes an parameter which is currently not used by dlm_midcomms_addr(). Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/midcomms.c')
-rw-r--r--fs/dlm/midcomms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/dlm/midcomms.c b/fs/dlm/midcomms.c
index c34f38e9ee5c..2c101bbe261a 100644
--- a/fs/dlm/midcomms.c
+++ b/fs/dlm/midcomms.c
@@ -334,12 +334,12 @@ static struct midcomms_node *nodeid2node(int nodeid)
return __find_node(nodeid, nodeid_hash(nodeid));
}
-int dlm_midcomms_addr(int nodeid, struct sockaddr_storage *addr, int len)
+int dlm_midcomms_addr(int nodeid, struct sockaddr_storage *addr)
{
int ret, idx, r = nodeid_hash(nodeid);
struct midcomms_node *node;
- ret = dlm_lowcomms_addr(nodeid, addr, len);
+ ret = dlm_lowcomms_addr(nodeid, addr);
if (ret)
return ret;