OSDN Git Service

ethernet: marvell/octeontx2: Simplify the return expression of npc_is_same
authordingsenjie <dingsenjie@yulong.com>
Fri, 18 Jun 2021 07:34:31 +0000 (15:34 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jun 2021 19:07:48 +0000 (12:07 -0700)
commite44dc724826cc26bd5406eab156d2f633bb44d8d
tree080d4ab6746611d62017a6b4639a8eea7216e73c
parent9fd2bc3206b31c8ff6d54d643730d4c3470471d6
ethernet: marvell/octeontx2: Simplify the return expression of npc_is_same

Simplify the return expression in the rvu_npc_fs.c

Signed-off-by: dingsenjie <dingsenjie@yulong.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c