diff options
author | Sukadev Bhattiprolu <sukadev@linux.ibm.com> | 2021-09-14 20:52:53 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-15 11:12:23 +0100 |
commit | 0df7b9ad8f844d692d841d550ec72352e78eb51e (patch) | |
tree | 45a58accc4445635f69a15e1f28baef1c21d50a7 /crypto/rng.c | |
parent | 0f2bf3188c438210dd1f8d92d448d6226f9792e0 (diff) | |
download | linux-0df7b9ad8f844d692d841d550ec72352e78eb51e.tar.bz2 |
ibmvnic: Use/rename local vars in init_rx_pools
To make the code more readable, use/rename some local variables.
Basically we have a set of pools, num_pools. Each pool has a set of
buffers, pool_size and each buffer is of size buff_size.
pool_size is a bit ambiguous (whether size in bytes or buffers). Add
a comment in the header file to make it explicit.
Reviewed-by: Rick Lindsley <ricklind@linux.vnet.ibm.com>
Reviewed-by: Dany Madden <drt@linux.ibm.com>
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/rng.c')
0 files changed, 0 insertions, 0 deletions