diff options
| author | Pieter Jansen van Vuuren <[email protected]> | 2017-10-20 17:49:52 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-22 02:09:32 +0000 |
| commit | 62d3f60b4d065c09a3ccb9e862e71ae870c2d27b (patch) | |
| tree | 158ed57202d29ae5bd195c1bd8d7e05e81fd0ff7 /drivers/net/xen-netback/interface.c | |
| parent | net: x25: mark expected switch fall-throughs (diff) | |
| download | kernel-62d3f60b4d065c09a3ccb9e862e71ae870c2d27b.tar.gz kernel-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 <[email protected]>
Signed-off-by: Pieter Jansen van Vuuren <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
