summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-01-16 16:58:10 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-01-16 16:58:10 +0000
commitaefb2d06d3fbcec2c2afa9a6f0f4cc16dc5ce26f (patch)
treefe0f9932eaecdde4b18ce075a4327e294fc56d2b
parent23b9061819a7a71326f4e3b14be389e6d97699d5 (diff)
Call start callback unconditionally.
-rw-r--r--sys/arch/sparc64/dev/ldc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/ldc.c b/sys/arch/sparc64/dev/ldc.c
index b13f345ec7b..2797f16022a 100644
--- a/sys/arch/sparc64/dev/ldc.c
+++ b/sys/arch/sparc64/dev/ldc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldc.c,v 1.2 2009/01/12 19:34:08 kettenis Exp $ */
+/* $OpenBSD: ldc.c,v 1.3 2009/01/16 16:58:09 kettenis Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis
*
@@ -137,8 +137,7 @@ ldc_rx_ctrl_rtr(struct ldc_conn *lc, struct ldc_pkt *lp)
}
DPRINTF(("CTRL/INFO/RTR\n"));
ldc_send_rdx(lc);
- if (lc->lc_start)
- lc->lc_start(lc);
+ lc->lc_start(lc);
break;
case LDC_ACK: