summaryrefslogtreecommitdiff
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2013-09-30 20:03:09 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-10-02 20:03:51 (GMT)
commit05742faf2512b94907f49b21581ed4667b9bd702 (patch)
tree0e71721ce729c4a74b821d9f4ab284763e3c189d /kernel/cpu.c
parentac73bf50b709dea4e39635151b861b8a8f52bfbb (diff)
downloadlinux-fsl-qoriq-05742faf2512b94907f49b21581ed4667b9bd702.tar.xz
connector - documentation: simplify netlink message length assignment
Use the precalculated size instead of obfuscating the message length calculation by first subtracting the netlink header length from size and then use the NLMSG_LENGTH() macro to add it back again. Signed-off-by: Mathias Krause <minipli@googlemail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions