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:
parent
15f13880d6
commit
e97a543e9b
58 changed files with 255 additions and 314 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue