Adham Faris
6624bfeecf
net/mlx5e: Remove redundant xsk pointer check in mlx5e_mpwrq_validate_xsk
...
This validation function is relevant only for XSK cases, hence it
assumes to be called only with xsk != NULL.
Thus checking for invalid xsk pointer is redundant and misleads static
code analyzers.
This commit removes redundant xsk pointer check.
This solves the following smatch warning:
drivers/net/ethernet/mellanox/mlx5/core/en/params.c:481
mlx5e_mpwrq_validate_xsk() error: we previously assumed 'xsk' could be
null (see line 478)
Fixes: 6470d2e7e8ed ("net/mlx5e: xsk: Use KSM for unaligned XSK")
Signed-off-by: Adham Faris <afaris@nvidia.com>
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
2023-01-18 00:01:38 -08:00
..
2022-08-31 14:11:26 -07:00
2022-09-29 11:05:23 +02:00
2022-09-28 18:57:14 -07:00
2022-08-31 14:11:26 -07:00
2022-11-03 13:21:54 -07:00
2022-12-07 11:45:52 +01:00
2022-09-28 18:57:14 -07:00
2022-10-28 20:13:54 -07:00
2022-08-31 14:11:26 -07:00
2022-08-31 14:11:26 -07:00
2022-11-29 13:04:52 -08:00
2022-12-30 07:43:44 +00:00
2023-01-12 21:50:37 -08:00
2022-11-08 15:15:55 +01:00
2022-12-12 09:53:10 +00:00
2022-11-29 13:04:52 -08:00
2022-08-31 14:11:26 -07:00
2022-10-28 20:13:54 -07:00
2022-11-17 18:30:39 -08:00
2023-01-11 20:48:37 -08:00
2022-11-21 08:17:59 +00:00
2022-11-07 18:26:23 -08:00
2022-09-28 18:57:14 -07:00
2022-12-12 10:00:55 +00:00
2022-12-13 15:47:48 -08:00
2022-09-28 18:57:14 -07:00
2022-10-18 19:34:28 -07:00
2022-10-28 20:13:54 -07:00
2022-11-23 12:43:14 +00:00
2022-08-31 14:11:26 -07:00
2022-11-17 13:18:30 +01:00
2022-10-28 20:13:54 -07:00
2022-12-02 10:47:49 +00:00
2022-10-31 20:02:57 -07:00
2023-01-13 21:36:01 -08:00
2022-08-31 14:11:26 -07:00
2022-11-30 21:49:39 -08:00
2022-11-21 10:52:14 +00:00
2023-01-11 20:20:59 -08:00
2022-11-17 18:30:39 -08:00
2022-11-14 10:47:07 +00:00
2023-01-11 20:50:42 -08:00
2022-09-19 18:23:39 -07:00
2023-01-16 14:02:03 +00:00
2022-12-08 19:47:43 -08:00
2023-01-18 00:01:38 -08:00
2022-10-25 19:46:35 -07:00
2023-01-13 21:53:28 -08:00
2022-12-14 09:27:13 -08:00
2022-09-06 10:24:42 +02:00
2022-11-22 15:36:44 +01:00
2022-12-19 12:30:32 +00:00
2022-09-28 18:57:14 -07:00
2022-12-12 09:38:24 +00:00
2022-12-21 18:03:42 -08:00
2022-11-28 11:09:51 +00:00
2022-10-28 20:13:54 -07:00
2022-08-31 14:11:26 -07:00
2022-11-18 19:40:14 -08:00
2022-08-31 14:11:26 -07:00
2022-09-28 18:57:14 -07:00
2022-11-30 21:49:38 -08:00
2023-01-04 20:32:56 -08:00
2022-10-28 20:13:54 -07:00
2022-12-15 12:48:34 +01:00
2023-01-09 20:40:28 -08:00
2022-12-28 10:09:50 +00:00
2022-11-02 20:45:23 -07:00
2022-09-28 18:57:14 -07:00
2022-12-06 20:37:38 -08:00
2022-08-31 14:11:26 -07:00
2022-08-31 14:11:26 -07:00
2022-10-18 19:33:51 -07:00
2022-10-28 20:13:54 -07:00
2023-01-17 13:33:19 +01:00
2022-12-25 13:38:09 -08:00
2022-11-10 16:27:33 -08:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-12-16 21:13:52 -08:00
2022-09-28 18:57:14 -07:00
2022-11-10 15:39:08 +01:00
2022-09-26 12:46:16 -07:00
2022-10-28 20:13:54 -07:00
2022-11-18 10:53:13 +00:00
2022-08-31 14:11:26 -07:00
2022-12-13 09:49:29 +01:00
2022-08-31 14:11:26 -07:00
2022-11-11 10:58:39 +00:00
2022-12-12 09:56:17 +00:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-10-27 13:32:08 +02:00
2022-09-28 18:57:14 -07:00
2022-10-24 13:02:18 +01:00
2022-09-28 18:57:14 -07:00
2022-10-27 13:32:08 +02:00