commit | 219ad6c1c35c95ff99a0c65cfba0ca9996831af5 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Tue Mar 21 17:59:20 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 22 12:59:09 2017 -0700 |
tree | a015c7b2cbe6ef64716cbdfde47104a7dde75bac | |
parent | 28b0cfee7b1b62ea214ebc50be5d5a92cbc30d42 [diff] |
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>