aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorEli Cohen <[email protected]>2020-02-06 15:13:36 +0200
committerSaeed Mahameed <[email protected]>2020-02-27 16:40:02 -0800
commit1708dd54687db4fd5baa3b6169aa116505c1e2ef (patch)
tree47fd56931567dec9dc648b1a0442a3bc18984a46 /net/switchdev/switchdev.c
parentffec97020f841fefa508db038bad58bc6def9431 (diff)
net/mlx5: Eswitch, avoid redundant mask
misc_params.source_port is a 16 bit field already so no need for redundant masking against 0xffff. Also change local variables type to u16. Signed-off-by: Eli Cohen <[email protected]> Reviewed-by: Roi Dayan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions