Leon Romanovsky
8e792700b9
net/mlx5: Delete impossible dev->state checks
...
New mlx5_core device structure is allocated through devlink_alloc
with\ kzalloc and that ensures that all fields are equal to zero
and it includes ->state too.
That means that checks of that field in the mlx5_init_one() is
completely redundant, because that function is called only once
in the begging of mlx5_core_dev lifetime.
PCI:
.probe()
-> probe_one()
-> mlx5_init_one()
The recovery flow can't run at that time or before it, because relevant
work initialized later in mlx5_init_once().
Such initialization flow ensures that dev->state can't be
MLX5_DEVICE_STATE_UNINITIALIZED at all, so remove such impossible
checks.
Signed-off-by: Leon Romanovsky <leonro@nvidia.com >
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com >
2021-08-11 11:14:30 -07:00
..
2021-07-25 11:36:29 +02:00
2021-07-26 22:35:22 +01:00
2021-08-04 09:53:34 +01:00
2021-07-05 11:48:14 -07:00
2021-07-06 20:14:42 -04:00
2021-07-21 12:37:49 -07:00
2021-08-11 11:14:30 -07:00
2021-07-05 11:21:51 -07:00
2021-08-09 10:22:01 +02:00
2021-08-02 11:40:45 +02:00
2021-07-05 14:16:22 -07:00
2021-07-01 16:57:14 -07:00
2021-07-10 09:22:44 -07:00
2021-07-07 11:12:01 -07:00
2021-07-10 09:22:44 -07:00
2021-07-05 13:42:16 -07:00
2021-07-09 09:43:57 -07:00
2021-07-05 14:16:22 -07:00
2021-07-07 13:30:01 -07:00
2021-07-01 07:32:14 +05:30
2021-07-01 11:06:04 -07:00
2021-06-30 12:21:16 -07:00
2021-07-07 20:01:45 -07:00
2021-07-09 12:05:33 -07:00
2021-06-30 15:34:13 -06:00
2021-07-24 12:57:06 -07:00
2021-07-08 11:48:20 -07:00
2021-06-30 20:47:25 -07:00
2021-07-19 15:14:40 -07:00
2021-07-31 09:14:46 -07:00
2021-07-16 21:15:28 +02:00
2021-07-23 16:45:07 -07:00
2021-07-15 22:31:10 +02:00
2021-07-08 11:48:22 -07:00
2021-07-02 15:14:36 -07:00
2021-06-30 11:37:02 -07:00
2021-07-08 11:48:21 -07:00
2021-07-23 14:20:24 +01:00
2021-06-30 14:33:25 -07:00
2021-07-02 12:08:10 -07:00
2021-07-01 11:06:06 -07:00
2021-07-01 11:06:06 -07:00
2021-06-30 14:33:25 -07:00
2021-06-30 19:45:42 +02:00
2021-07-05 12:44:23 +02:00
2021-07-08 11:48:20 -07:00
2021-07-08 11:48:22 -07:00
2021-07-08 11:48:20 -07:00
2021-07-05 14:16:22 -07:00
2021-07-23 14:20:25 +01:00
2021-08-09 23:15:35 +02:00
2021-07-21 06:39:20 -10:00
2021-07-05 13:42:16 -07:00
2021-07-30 18:35:47 +02:00
2021-06-29 17:29:11 -07:00
2021-07-27 20:11:45 +01:00
2021-07-27 20:11:44 +01:00
2021-06-30 09:15:15 +02:00
2021-07-23 17:43:28 -07:00
2021-07-08 11:48:21 -07:00
2021-06-30 20:47:30 -07:00
2021-06-30 20:47:25 -07:00
2021-07-08 11:48:21 -07:00
2021-07-05 14:01:53 -07:00
2021-08-04 12:35:07 +01:00
2021-08-05 11:46:42 +01:00
2021-07-23 14:20:25 +01:00
2021-07-15 20:49:09 +02:00
2021-07-21 08:14:33 -07:00
2021-07-21 08:14:33 -07:00
2021-07-21 08:14:33 -07:00
2021-07-21 08:14:33 -07:00
2021-07-08 08:37:31 -04:00
2021-07-08 11:48:22 -07:00
2021-07-15 10:13:49 -07:00
2021-06-30 20:47:28 -07:00
2021-07-02 12:08:10 -07:00
2021-07-02 12:54:34 -07:00
2021-07-01 11:06:05 -07:00
2021-06-29 17:29:11 -07:00
2021-07-08 11:48:21 -07:00
2021-07-08 11:48:20 -07:00
2021-07-11 10:02:33 -07:00
2021-07-23 17:43:28 -07:00
2021-07-01 17:17:24 -07:00
2021-06-30 20:47:25 -07:00
2021-06-30 20:47:29 -07:00
2021-07-01 11:06:02 -07:00
2021-08-05 15:08:47 -07:00
2021-07-12 11:30:56 -07:00
2021-08-09 15:49:00 -07:00
2021-07-12 11:30:56 -07:00
2021-07-08 11:48:21 -07:00
2021-07-01 11:06:03 -07:00
2021-07-08 11:48:22 -07:00
2021-07-01 11:06:05 -07:00
2021-08-10 07:53:22 -07:00
2021-07-08 14:03:26 -04:00
2021-07-08 11:48:20 -07:00
2021-07-05 13:42:16 -07:00
2021-07-02 12:08:10 -07:00
2021-07-01 11:06:04 -07:00
2021-07-01 11:06:04 -07:00
2021-07-06 10:37:46 -05:00
2021-07-06 10:37:46 -05:00
2021-07-06 10:37:46 -05:00
2021-07-06 10:37:46 -05:00
2021-07-08 12:06:20 -07:00
2021-07-08 11:48:21 -07:00
2021-07-08 11:48:20 -07:00
2021-07-21 11:28:09 +01:00
2021-07-20 06:55:20 -07:00
2021-06-30 15:51:09 -07:00
2021-07-01 13:08:18 -07:00
2021-06-30 19:12:19 +02:00
2021-07-15 10:13:49 -07:00
2021-07-08 11:48:20 -07:00
2021-07-16 21:15:28 +02:00
2021-07-13 11:39:42 +01:00
2021-07-13 11:39:48 +01:00
2021-07-08 11:48:21 -07:00
2021-07-01 11:06:05 -07:00
2021-07-08 11:48:20 -07:00
2021-07-02 12:08:10 -07:00
2021-07-08 11:48:21 -07:00
2021-07-01 11:06:06 -07:00
2021-08-09 15:49:00 -07:00
2021-07-27 14:55:30 -07:00
2021-07-29 15:06:49 +01:00
2021-07-05 10:16:17 -07:00
2021-07-01 11:06:05 -07:00
2021-07-01 11:06:05 -07:00
2021-07-01 11:06:03 -07:00
2021-07-01 11:06:03 -07:00
2021-07-08 11:48:21 -07:00
2021-07-01 11:06:04 -07:00
2021-07-07 20:01:45 -07:00
2021-06-30 20:47:27 -07:00
2021-07-08 07:49:01 -04:00
2021-07-08 07:49:01 -04:00
2021-07-08 11:48:21 -07:00
2021-06-30 12:12:56 -07:00