diff options
author | harti <harti@FreeBSD.org> | 2003-07-26 14:20:37 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2003-07-26 14:20:37 +0000 |
commit | 489531a1e0de85675b2bc88476321cafb171a8f8 (patch) | |
tree | 7a16e560154f2653edd4cfd735def5e05c924cd9 /sys/netatm | |
parent | 8092e86d0c25fc0b42247a66a258c99865c2bd47 (diff) | |
download | FreeBSD-src-489531a1e0de85675b2bc88476321cafb171a8f8.zip FreeBSD-src-489531a1e0de85675b2bc88476321cafb171a8f8.tar.gz |
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.
Diffstat (limited to 'sys/netatm')
-rw-r--r-- | sys/netatm/atm_cm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netatm/atm_cm.c b/sys/netatm/atm_cm.c index 8332e83..aa3b0ea 100644 --- a/sys/netatm/atm_cm.c +++ b/sys/netatm/atm_cm.c @@ -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; |