diff options
author | Maciej Fijalkowski <maciej.fijalkowski@intel.com> | 2021-01-18 18:13:11 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-02-12 21:14:30 +0300 |
commit | 59c97d1b51b119eace6b1e61a6f820701f5a8299 (patch) | |
tree | ccc4931b432b08f94c5747ea99b0d23974ccd763 /net/switchdev/switchdev.c | |
parent | d06e2f05b4f18c463b6793d75e08ef003ee4efbd (diff) | |
download | linux-59c97d1b51b119eace6b1e61a6f820701f5a8299.tar.xz |
ice: simplify ice_run_xdp
There's no need for 'result' variable, we can directly return the
internal status based on action returned by xdp prog.
Reviewed-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Tested-by: Kiran Bhandare <kiranx.bhandare@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions