summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorSukadev Bhattiprolu <sukadev@linux.ibm.com>2021-09-14 20:52:53 -0700
committerDavid S. Miller <davem@davemloft.net>2021-09-15 11:12:23 +0100
commit0df7b9ad8f844d692d841d550ec72352e78eb51e (patch)
tree45a58accc4445635f69a15e1f28baef1c21d50a7 /kernel
parent0f2bf3188c438210dd1f8d92d448d6226f9792e0 (diff)
downloadlinux-stable-0df7b9ad8f844d692d841d550ec72352e78eb51e.tar.gz
linux-stable-0df7b9ad8f844d692d841d550ec72352e78eb51e.tar.bz2
linux-stable-0df7b9ad8f844d692d841d550ec72352e78eb51e.zip
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 'kernel')
0 files changed, 0 insertions, 0 deletions