From: Adrian Bunk Remove the following unused functions: - lowcomms_send_message() - lowcomms_max_buffer_size() Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton --- fs/dlm/lowcomms-tcp.c | 24 ------------------------ 1 file changed, 24 deletions(-) diff -puN fs/dlm/lowcomms-tcp.c~fs-dlm-lowcomms-tcpc-remove-2-functions fs/dlm/lowcomms-tcp.c --- a/fs/dlm/lowcomms-tcp.c~fs-dlm-lowcomms-tcpc-remove-2-functions +++ a/fs/dlm/lowcomms-tcp.c @@ -913,22 +913,6 @@ int dlm_lowcomms_close(int nodeid) 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) { @@ -1129,14 +1113,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; _