mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
net/mlx5: Remove unused 'offset' field from mlx5_sq_bfreg
The 'offset' field was introduced in the original commit [1] and never used until commit [2], which added an unnecessary use. Remove the field and refactor the write-combining test to use a local variable instead. [1] commita6d51b6861("net/mlx5: Introduce blue flame register allocator") [2] commitd98995b4bf("net/mlx5: Reimplement write combining test") Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com> Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
917449e7c3
commit
05dfe654b5
@@ -434,7 +434,6 @@ struct mlx5_sq_bfreg {
|
||||
struct mlx5_uars_page *up;
|
||||
bool wc;
|
||||
u32 index;
|
||||
unsigned int offset;
|
||||
};
|
||||
|
||||
struct mlx5_core_health {
|
||||
|
||||
Reference in New Issue
Block a user