Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/net/lib/libnetcan Remove spurious call to canloopin...



details:   https://anonhg.NetBSD.org/src/rev/124c09105783
branches:  trunk
changeset: 936219:124c09105783
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Tue Jul 21 18:38:18 2020 +0000

description:
Remove spurious call to canloopinit() in an attempt to fix kern/55489

This attempt at fixing is a result of IRC discussions with martin@ and
riastradh@

diffstat:

 sys/rump/net/lib/libnetcan/netcan_component.c |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (28 lines):

diff -r c328e089dd29 -r 124c09105783 sys/rump/net/lib/libnetcan/netcan_component.c
--- a/sys/rump/net/lib/libnetcan/netcan_component.c     Tue Jul 21 14:42:44 2020 +0000
+++ b/sys/rump/net/lib/libnetcan/netcan_component.c     Tue Jul 21 18:38:18 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netcan_component.c,v 1.2 2017/05/27 21:02:56 bouyer Exp $      */
+/*     $NetBSD: netcan_component.c,v 1.3 2020/07/21 18:38:18 pgoyette Exp $    */
 
 /*
  * Copyright (c) 2010 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netcan_component.c,v 1.2 2017/05/27 21:02:56 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netcan_component.c,v 1.3 2020/07/21 18:38:18 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/domain.h>
@@ -44,9 +44,3 @@
        domain_attach(&candomain);
        rump_netisr_register(NETISR_CAN, canintr);
 }
-
-void  canloopinit(void);
-RUMP_COMPONENT(RUMP_COMPONENT_NET_IF)
-{
-       canloopinit();
-}



Home | Main Index | Thread Index | Old Index