]> asedeno.scripts.mit.edu Git - linux.git/commit
bnxt: simplify cls_flower command switch and handle default case
authorJiri Pirko <jiri@mellanox.com>
Sun, 24 Jun 2018 08:38:37 +0000 (10:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jun 2018 07:14:03 +0000 (16:14 +0900)
commit83741bb0430465ea9f0654d4772c03d694b33ad7
tree4e8b74e76996d144831778e99620ac4ad6b82146
parent0ef8b4567d08a557b5226a4926ffd689ef0298ad
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: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c