nfp: remove defensive checks around ndo_open()/ndo_close()
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 22 Mar 2017 00:59:20 +0000 (17:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2017 19:59:09 +0000 (12:59 -0700)
commit219ad6c1c35c95ff99a0c65cfba0ca9996831af5
treea015c7b2cbe6ef64716cbdfde47104a7dde75bac
parent28b0cfee7b1b62ea214ebc50be5d5a92cbc30d42
nfp: remove defensive checks around ndo_open()/ndo_close()

Device open and close handlers check if the device is already
in the desired state.  Thanks to our reconfig infrastructure
this should not be necessary, there doesn't seem to be any
code in the driver which depends on it.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_common.c