aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/lapbether.c
diff options
context:
space:
mode:
authorParav Pandit <[email protected]>2021-02-25 11:38:07 +0000
committerSaeed Mahameed <[email protected]>2021-04-02 23:13:06 +0000
commit97d85aba2543af790aaf7f4eb1c9f643a1718519 (patch)
tree9f5eddf43c15508a5deca62485aa4fc6db19e8ea /drivers/net/wan/lapbether.c
parentnet/mlx5: Use helpers to allocate and free rl table entries (diff)
downloadkernel-97d85aba2543af790aaf7f4eb1c9f643a1718519.tar.gz
kernel-97d85aba2543af790aaf7f4eb1c9f643a1718519.zip
net/mlx5: Use helper to increment, decrement rate entry refcount
Rate limit entry refcount can be incremented uniformly when it is newly allocated or reused. So simplify the code to increment refcount at one place. Use decrement refcount helper in two routines. Signed-off-by: Parav Pandit <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
0 files changed, 0 insertions, 0 deletions