]> git.baikalelectronics.ru Git - kernel.git/commit
netlink: remove duplicated nla_need_padding_for_64bit() check
authorMiaohe Lin <linmiaohe@huawei.com>
Tue, 25 Aug 2020 03:25:17 +0000 (23:25 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Aug 2020 13:06:19 +0000 (06:06 -0700)
commit00feaab21b69ee014de42b98861fe5fbcf9b0e40
tree58795cad83d364e4b93fe75008ac7504fadeff03
parent6d7fde1b11abf6d6edde1a3a9d71be25a3fdd43e
netlink: remove duplicated nla_need_padding_for_64bit() check

The need for padding 64bit is implicitly checked by nla_align_64bit(), so
remove this explicit one.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/nlattr.c