OSDN Git Service

ionic: simplify returns in devlink info
authorShannon Nelson <snelson@pensando.io>
Tue, 1 Oct 2019 03:03:22 +0000 (20:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Oct 2019 15:55:12 +0000 (11:55 -0400)
commitda0729e8d2ae3f2e725b4fa8c3bf99eeb12debec
tree1f6339a0358eafd6e6ab8fe042583d6ed0569423
parentdf428e4049a6456c08d664e5a7c39da4c744805d
ionic: simplify returns in devlink info

There is no need for a goto in this bit of code.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_devlink.c