From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Aring Date: Mon, 11 Jan 2021 13:03:09 -0500 Subject: [Cluster-devel] [PATCHv4 dlm/next 19/20] fs: dlm: remove obsolete code and comment In-Reply-To: <20210111180310.122451-1-aahringo@redhat.com> References: <20210111180310.122451-1-aahringo@redhat.com> Message-ID: <20210111180310.122451-20-aahringo@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit This patch removes obsolete macros and a comment. The macro was there for temporary copy a dlm message on a stack buffer, nowadays we operate directly on receive buffer which was given to the socket receive API. Signed-off-by: Alexander Aring --- fs/dlm/dlm_internal.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/fs/dlm/dlm_internal.h b/fs/dlm/dlm_internal.h index da2297705713..a735f2816ef7 100644 --- a/fs/dlm/dlm_internal.h +++ b/fs/dlm/dlm_internal.h @@ -41,12 +41,6 @@ #include #include "config.h" -/* Size of the temp buffer midcomms allocates on the stack. - We try to make this large enough so most messages fit. - FIXME: should sctp make this unnecessary? */ - -#define DLM_INBUF_LEN 148 - struct dlm_ls; struct dlm_lkb; struct dlm_rsb; -- 2.26.2