diff options
author | Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com> | 2017-10-20 19:49:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-22 03:09:32 +0100 |
commit | 62d3f60b4d065c09a3ccb9e862e71ae870c2d27b (patch) | |
tree | 158ed57202d29ae5bd195c1bd8d7e05e81fd0ff7 /tools | |
parent | 0cea8e28df721f929ee3e1fa32489c012100f5a1 (diff) | |
download | talos-obmc-linux-62d3f60b4d065c09a3ccb9e862e71ae870c2d27b.tar.gz talos-obmc-linux-62d3f60b4d065c09a3ccb9e862e71ae870c2d27b.zip |
nfp: use struct fields for 8 bit-wide access
Use direct access struct fields rather than PREP_FIELD()
macros to manipulate the jump ID and length, both of which
are exactly 8-bits wide. This simplifies the code somewhat.
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions