net: mvpp2: Simplify BM pool buffers freeing
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Mon, 21 Jul 2014 16:48:14 +0000 (13:48 -0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jul 2014 02:50:30 +0000 (19:50 -0700)
commit7861f12bfd9f63e346b33a2b9841136f541dfbe3
treed14042bd5eeedbc8aa1a1253f56af83412888fe3
parentd74c96c10c03025327c5004900d72bfa03bc957b
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>
drivers/net/ethernet/marvell/mvpp2.c