Now that mbufs are allocated using uma,

don't check for accidental usage of mbuf 'how' flags as
they are the same thing.
This commit is contained in:
Julian Elischer 2004-06-07 22:11:12 +00:00
parent 398faf1205
commit a65d0dc8f2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130215

View File

@ -371,10 +371,6 @@ struct flow_manager {
*/
#define NG_MKMESSAGE(msg, cookie, cmdid, len, how) \
do { \
KASSERT(!(how & M_DONTWAIT), \
("NG_MKMESSAGE() with how=M_DONTWAIT (%d)\n", how)); \
KASSERT(!(how & M_TRYWAIT), \
("NG_MKMESSAGE() with how=M_TRYWAIT (%d)\n", how)); \
MALLOC((msg), struct ng_mesg *, sizeof(struct ng_mesg) \
+ (len), M_NETGRAPH_MSG, (how) | M_ZERO); \
if ((msg) == NULL) \