summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2014-07-21 13:48:14 -0300
committerDavid S. Miller <davem@davemloft.net>2014-07-22 19:50:30 -0700
commit7861f12bfd9f63e346b33a2b9841136f541dfbe3 (patch)
treed14042bd5eeedbc8aa1a1253f56af83412888fe3 /drivers/net/ethernet/mellanox
parentd74c96c10c03025327c5004900d72bfa03bc957b (diff)
downloadlinux-7861f12bfd9f63e346b33a2b9841136f541dfbe3.tar.bz2
net: mvpp2: Simplify BM pool buffers freeing
Now that all the users of mvpp2_bm_bufs_free() have been fixed, we can safely clean the function prototype. The function is always called to release all the buffers in a BM pool, and the number of buffers freed is not needed. Therefore, we change the return to a void, and remove the "num" parameter. This is a cosmetic change, to make the code slightly cleaner. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox')
0 files changed, 0 insertions, 0 deletions