diff options
| author | Jason Gunthorpe <[email protected]> | 2018-07-29 11:34:51 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-08-02 20:19:41 -0600 |
| commit | 577e07ffbad9960551a6821b74af90a216ac10e2 (patch) | |
| tree | e9129a517153179534895bb7092d29817e7cf1e1 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 94245f4ad9e10c161affaa4763136d29fbe91cb9 (diff) | |
IB/ipoib: Get rid of IPOIB_FLAG_GOING_DOWN
This essentially duplicates the netdev's reg_state, so just use that
directly. The reg_state is updated under the rntl_lock, and all places
using GOING_DOWN already acquire the rtnl_lock so checking is safe.
Since the only place we use GOING_DOWN is for the parent device this
does not fix any bugs, but it is a step to tidy up the unregister flow
so that after later patches the flow is uniform and sane.
Signed-off-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions