mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -04:00
Silence a gcc-warning. Do this by inlining the macro-call. This is
not very nice - the compiler should just silently optimize away the unused else clause.
This commit is contained in:
parent
5445ea75ce
commit
cd7a4fa6eb
1 changed files with 1 additions and 2 deletions
|
|
@ -2779,8 +2779,7 @@ atm_cm_cpcs_data(cop, m)
|
|||
* We have to allocate another buffer and tack it
|
||||
* onto the front of the packet
|
||||
*/
|
||||
KB_ALLOCPKT(n, llcp->v.llc_len, KB_F_NOWAIT,
|
||||
KB_T_HEADER);
|
||||
MGETHDR(n, KB_F_NOWAIT, KB_T_HEADER);
|
||||
if (n == 0) {
|
||||
err = ENOMEM;
|
||||
goto done;
|
||||
|
|
|
|||
Loading…
Reference in a new issue