net: tipc: replace align() with ALIGN in msg.c
authorMenglong Dong <dong.menglong@zte.com.cn>
Mon, 28 Jun 2021 06:37:45 +0000 (23:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jun 2021 20:31:57 +0000 (13:31 -0700)
commitd4cfb7fe5713521280925019e7a7857b373aa627
treee5597c97a249fc12795e10803f9c401d190720bc
parent0c6de0c943dbb42831bf7502eb5c007f71e752d2
net: tipc: replace align() with ALIGN in msg.c

The function align() which is defined in msg.c is redundant, replace it
with ALIGN() and introduce a BUF_ALIGN().

Signed-off-by: Menglong Dong <dong.menglong@zte.com.cn>
Acked-by: Jon Maloy <jmaloy@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/msg.c