summaryrefslogtreecommitdiffstats
path: root/fs/dlm/lowcomms-tcp.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-12-19 22:04:03 +0100
committerSteven Whitehouse <swhiteho@redhat.com>2007-02-05 19:36:05 +0100
commit927255f0383342f5d49b82adb6689b9cba52a6f5 (patch)
tree128aa611a70e73664d38344ae4da0251635c1699 /fs/dlm/lowcomms-tcp.c
parent[DLM] fix lost flags in stub replies (diff)
downloadlinux-927255f0383342f5d49b82adb6689b9cba52a6f5.tar.xz
linux-927255f0383342f5d49b82adb6689b9cba52a6f5.zip
[DLM] fs/dlm/lowcomms-tcp.c: remove 2 functions
Remove the following unused functions: - lowcomms_send_message() - lowcomms_max_buffer_size() Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Patrick Caulfield <pcaulfie@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to '')
-rw-r--r--fs/dlm/lowcomms-tcp.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/fs/dlm/lowcomms-tcp.c b/fs/dlm/lowcomms-tcp.c
index 9be3a440c42a..3b224733f18b 100644
--- a/fs/dlm/lowcomms-tcp.c
+++ b/fs/dlm/lowcomms-tcp.c
@@ -880,22 +880,6 @@ out:
return -1;
}
-/* API send message call, may queue the request */
-/* N.B. This is the old interface - use the new one for new calls */
-int lowcomms_send_message(int nodeid, char *buf, int len, gfp_t allocation)
-{
- struct writequeue_entry *e;
- char *b;
-
- e = dlm_lowcomms_get_buffer(nodeid, len, allocation, &b);
- if (e) {
- memcpy(b, buf, len);
- dlm_lowcomms_commit_buffer(e);
- return 0;
- }
- return -ENOBUFS;
-}
-
/* Look for activity on active sockets */
static void process_sockets(void)
{
@@ -1087,14 +1071,6 @@ static int daemons_start(void)
return 0;
}
-/*
- * Return the largest buffer size we can cope with.
- */
-int lowcomms_max_buffer_size(void)
-{
- return PAGE_CACHE_SIZE;
-}
-
void dlm_lowcomms_stop(void)
{
int i;