]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7bff0e41cd7c51d5391c38976e5950dc60dbb5a8
treee5597c97a249fc12795e10803f9c401d190720bc
parent04b91b55bfd77dfb4d0a623f8e5e33b66a5a7b18
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