diff options
| author | Florian Fainelli <f.fainelli@gmail.com> | 2016-07-18 13:02:47 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:26:30 +0200 |
| commit | de57817d971a54d415981f7a61fa7c50749a3f70 (patch) | |
| tree | 894b9cbb17680eb16a34114e7abde3889803f52b /scripts/patch-kernel | |
| parent | 45f35048a173f2fd003be8df24550c5ca4818588 (diff) | |
bnxt_en: Remove locking around txr->dev_state
commit cbce91cad4ee39070bf3c7873767194e4be88e16 upstream.
txr->dev_state was not consistently manipulated with the acquisition of
the per-queue lock, after further inspection the lock does not seem
necessary, either the value is read as BNXT_DEV_STATE_CLOSING or 0.
Reported-by: coverity (CID 1339583)
Fixes: c0c050c58d840 ("bnxt_en: New Broadcom ethernet driver.")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
