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
0682d6eb07
commit
bbd8b93e9c
@ -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 New Issue
Block a user