]> 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)
commit318ec72097d7db299f3af29a033ba7ab82bedd48
treee5597c97a249fc12795e10803f9c401d190720bc
parent20467a2f6d2d3013200ec539786902e8a1aab614
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