summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2014-12-22 17:45:48 +0100
committerPatrick McHardy <kaber@trash.net>2015-01-11 08:05:25 +0000
commit755d5d4d63450b13e2a0059a63d5cae24c215ac3 (patch)
tree56cd4651ccfa42758e5acce0e3fb8cf36508e094 /include
parentc39d8d7527e175d4a3744765b6742b854acdf5e4 (diff)
netlink_delinearize: cleanup hard to read code
The netlink parsing code is full of long function calls spawning multiple lines and in some cases parses netlink attributes multiple times. Use local variables for the registers and other data required to reconstruct the expressions and statements and reorder the code in some cases to move related processing next to each other. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions