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)
commit4718a471f1a7fc5cc943377c09300bb35138daf9
tree58795cad83d364e4b93fe75008ac7504fadeff03
parent8b4510d76cde3c6934d4caed2fe897bd831cdb82
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