Kalesh AP cc73dfd041 net/bnxt: remove redundant if statement
Since "eth_dev->data->dev_started" has been assigned to 0 at the
beginning of bnxt_dev_stop_op() routine, the code inside the if()
condition is redundant. Remove it.

Anyways "eth_dev->data->dev_link.link_status" will be set to 0 in
bnxt_dev_set_link_down_op() later in the routine.

Fixes: 316e412299fd ("net/bnxt: fix crash when closing")
Cc: stable@dpdk.org

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2020-02-05 09:51:20 +01:00
..
2020-02-05 09:51:19 +01:00
2020-02-05 09:51:19 +01:00
2019-11-08 23:15:04 +01:00
2019-10-08 12:14:32 +02:00
2020-01-17 19:46:01 +01:00
2020-01-17 19:46:01 +01:00
2019-10-08 12:14:32 +02:00
2020-02-05 09:51:19 +01:00
2019-11-08 23:15:04 +01:00