mirror of
https://github.com/torvalds/linux.git
synced 2026-08-01 12:11:59 +02:00
mlxsw: pci: Make style change in mlxsw_pci_cq_tasklet()
This function will be broken into several functions later. As preparation, reorder variables to reverse xmas tree. Signed-off-by: Amit Cohen <amcohen@nvidia.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://lore.kernel.org/r/7170a8f4429ecb5a539b0374c621697778ff8363.1712062203.git.petrm@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
2c200863fc
commit
a0639236d4
|
|
@ -662,9 +662,9 @@ static void mlxsw_pci_cq_tasklet(struct tasklet_struct *t)
|
|||
{
|
||||
struct mlxsw_pci_queue *q = from_tasklet(q, t, tasklet);
|
||||
struct mlxsw_pci *mlxsw_pci = q->pci;
|
||||
char *cqe;
|
||||
int items = 0;
|
||||
int credits = q->count >> 1;
|
||||
int items = 0;
|
||||
char *cqe;
|
||||
|
||||
while ((cqe = mlxsw_pci_cq_sw_cqe_get(q))) {
|
||||
u16 wqe_counter = mlxsw_pci_cqe_wqe_counter_get(cqe);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user