diff options
author | Eli Cohen <eli@mellanox.com> | 2020-02-06 16:13:36 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-02-28 03:40:02 +0300 |
commit | 1708dd54687db4fd5baa3b6169aa116505c1e2ef (patch) | |
tree | 47fd56931567dec9dc648b1a0442a3bc18984a46 /include/linux/mlx5/fs.h | |
parent | ffec97020f841fefa508db038bad58bc6def9431 (diff) | |
download | linux-1708dd54687db4fd5baa3b6169aa116505c1e2ef.tar.xz |
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 <eli@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include/linux/mlx5/fs.h')
0 files changed, 0 insertions, 0 deletions