Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/lkm/net/ethfoo/ethfoo Don't need to use config_makeroom(...



details:   https://anonhg.NetBSD.org/src/rev/e20815f99bae
branches:  trunk
changeset: 570505:e20815f99bae
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Oct 15 04:48:24 2004 +0000

description:
Don't need to use config_makeroom() here.

diffstat:

 sys/lkm/net/ethfoo/ethfoo/ethfoo_lkm.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r ae28f4b30eb9 -r e20815f99bae sys/lkm/net/ethfoo/ethfoo/ethfoo_lkm.c
--- a/sys/lkm/net/ethfoo/ethfoo/ethfoo_lkm.c    Fri Oct 15 04:42:09 2004 +0000
+++ b/sys/lkm/net/ethfoo/ethfoo/ethfoo_lkm.c    Fri Oct 15 04:48:24 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ethfoo_lkm.c,v 1.3 2004/05/13 07:20:47 cube Exp $      */
+/*     $NetBSD: ethfoo_lkm.c,v 1.4 2004/10/15 04:48:24 thorpej Exp $   */
 
 /*
  *  Copyright (c) 2003, 2004 The NetBSD Foundation.
@@ -565,7 +565,6 @@
 static int
 ethfoo_clone_create(struct if_clone *ifc, int unit)
 {
-       config_makeroom(unit, &ethfoo_cd); /* can panic */
 
        if (config_attach_pseudo(ethfoo_cd.cd_name, unit) == NULL) {
                aprint_error("%s%d: unable to attach an instance\n",



Home | Main Index | Thread Index | Old Index