summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThomas Petazzoni <[email protected]>2017-02-15 12:13:43 +0100
committerStefan Roese <[email protected]>2017-03-29 07:39:49 +0200
commitf1060f0dd05c9b11bf99878c0e83455960d8ffb5 (patch)
treef8564e1ed949152fdedaa3e8ee9e5d9492ab8207 /scripts
parentf811e04ad76019fccb79c8ac2c84a4e84ebef5fd (diff)
net: mvpp2: simplify mvpp2_bm_bufs_add()
The mvpp2_bm_bufs_add() currently creates a fake cookie by calling mvpp2_bm_cookie_pool_set(), just to be able to call mvpp2_pool_refill(). But all what mvpp2_pool_refill() does is extract the pool ID from the cookie, and call mvpp2_bm_pool_put() with this ID. Instead of doing this convoluted thing, just call mvpp2_bm_pool_put() directly, since we have the BM pool ID. Signed-off-by: Thomas Petazzoni <[email protected]> Signed-off-by: Stefan Roese <[email protected]> Acked-by: Joe Hershberger <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions