net/pkt: Remove parameters to "reserve" some headroom

Such parameter is not used anymore, it was defaulted to 0 previously.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2018-06-28 17:10:37 +02:00 committed by Carles Cufí
commit e97a543e9b
58 changed files with 255 additions and 314 deletions

View file

@ -538,7 +538,7 @@ static int eth_enc28j60_rx(struct device *dev)
lengthfr = frm_len;
/* Get the frame from the buffer */
pkt = net_pkt_get_reserve_rx(0, config->timeout);
pkt = net_pkt_get_reserve_rx(config->timeout);
if (!pkt) {
LOG_ERR("Could not allocate rx buffer");
eth_stats_update_errors_rx(context->iface);