summaryrefslogtreecommitdiff
path: root/net/batman-adv/hard-interface.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2020-03-02 23:01:08 +0300
committerChuck Lever <chuck.lever@oracle.com>2020-03-16 19:04:31 +0300
commit96f194b715b61b11f0184c776a1283df8e152033 (patch)
treee5949219bda4aa34a9e52972b17dd41d02ecd5dc /net/batman-adv/hard-interface.h
parent758a3bf9459d9daa19eac604f3dece77e0bf2441 (diff)
downloadlinux-96f194b715b61b11f0184c776a1283df8e152033.tar.xz
SUNRPC: Add xdr_pad_size() helper
Introduce a helper function to compute the XDR pad size of a variable-length XDR object. Clean up: Replace open-coded calculation of XDR pad sizes. I'm sure I haven't found every instance of this calculation. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/batman-adv/hard-interface.h')
0 files changed, 0 insertions, 0 deletions