Skip to content
Commit 83741bb0 authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller
Browse files

bnxt: simplify cls_flower command switch and handle default case



Currently the default case is not handled, which with future command
introductions would introduce a warning. So handle it and make the
switch a bit simplier removing unneeded "rc" variable.

Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0ef8b456
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment