diff options
| author | Jacob Keller <jacob.e.keller@intel.com> | 2016-06-23 13:54:01 -0700 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-08-29 01:31:03 -0700 |
| commit | 5f45c83024c49f71e50cf8156b165f11d2ab35a9 (patch) | |
| tree | 0a1479457310669dc920f2b1200ade41d8250e11 /lib/timerqueue.c | |
| parent | 18095937cb1c66b8ff944de02cf04d1497008352 (diff) | |
fm10k: don't try to stop queues if we've lost hw_addr
In the event of a surprise remove, we expect the driver to go down,
which includes calling .stop_hw(). However, this function will return an
error because the queues won't appear to cleanly disable. Prevent this
and avoid the unnecessary checks by just returning when
FM10K_REMOVED(hw->hw_addr) is true.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
