diff options
Diffstat (limited to 'sys/altq/altq_rio.c')
-rw-r--r-- | sys/altq/altq_rio.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/altq/altq_rio.c b/sys/altq/altq_rio.c index 92bfda614ae..e3d4207a0c9 100644 --- a/sys/altq/altq_rio.c +++ b/sys/altq/altq_rio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: altq_rio.c,v 1.11 2007/09/13 20:40:02 chl Exp $ */ +/* $OpenBSD: altq_rio.c,v 1.12 2008/05/08 15:22:02 chl Exp $ */ /* $KAME: altq_rio.c,v 1.8 2000/12/14 08:12:46 thorpej Exp $ */ /* @@ -173,8 +173,6 @@ rio_alloc(int weight, struct redparams *params, int flags, int pkttime) int npkts_per_sec; rp = malloc(sizeof(rio_t), M_DEVBUF, M_WAITOK|M_ZERO); - if (rp == NULL) - return (NULL); rp->rio_flags = flags; if (pkttime == 0) |