diff options
-rw-r--r-- | sys/dev/xen/netfront/netfront.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/sys/dev/xen/netfront/netfront.c b/sys/dev/xen/netfront/netfront.c index 481c2d9..51ffb82 100644 --- a/sys/dev/xen/netfront/netfront.c +++ b/sys/dev/xen/netfront/netfront.c @@ -165,7 +165,6 @@ static int xn_configure_features(struct netfront_info *np); static void xn_watchdog(struct ifnet *); #endif -static void show_device(struct netfront_info *sc); #ifdef notyet static void netfront_closing(device_t dev); #endif @@ -644,8 +643,6 @@ setup_device(device_t dev, struct netfront_info *info) goto fail; } - show_device(info); - return (0); fail: @@ -1969,25 +1966,6 @@ network_connect(struct netfront_info *np) return (0); } -static void -show_device(struct netfront_info *sc) -{ -#ifdef DEBUG - if (sc) { - IPRINTK("<vif handle=%u %s(%s) evtchn=%u irq=%u tx=%p rx=%p>\n", - sc->xn_ifno, - be_state_name[sc->xn_backend_state], - sc->xn_user_state ? "open" : "closed", - sc->xn_evtchn, - sc->xn_irq, - sc->xn_tx_if, - sc->xn_rx_if); - } else { - IPRINTK("<vif NULL>\n"); - } -#endif -} - static void xn_query_features(struct netfront_info *np) { |