summaryrefslogtreecommitdiffstats
path: root/sys/netccitt/hd_timer.c
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 08:16:23 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 08:16:23 +0000
commitc86f0c7a71e7ade3e38b325c186a9cf374e0411e (patch)
tree176f04f674860c7cfae9ac5d2ff4d4e1d73cb2b7 /sys/netccitt/hd_timer.c
parent423ba8f9bc23d93bfc244aca9b12563b1c9de90d (diff)
downloadFreeBSD-src-c86f0c7a71e7ade3e38b325c186a9cf374e0411e.zip
FreeBSD-src-c86f0c7a71e7ade3e38b325c186a9cf374e0411e.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'sys/netccitt/hd_timer.c')
-rw-r--r--sys/netccitt/hd_timer.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/netccitt/hd_timer.c b/sys/netccitt/hd_timer.c
index 925ff6a..8764043 100644
--- a/sys/netccitt/hd_timer.c
+++ b/sys/netccitt/hd_timer.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)hd_timer.c 8.1 (Berkeley) 6/10/93
- * $Id: hd_timer.c,v 1.2 1994/08/02 07:47:09 davidg Exp $
+ * $Id: hd_timer.c,v 1.3 1995/02/15 06:29:46 jkh Exp $
*/
#include <sys/param.h>
@@ -61,7 +61,7 @@
*/
/*
- * HDLC TIMER
+ * HDLC TIMER
*
* This routine is called every 500ms by the kernel. Decrement timer by this
* amount - if expired then process the event.
@@ -83,19 +83,19 @@ hd_timer ()
continue;
switch (hdp->hd_state) {
- case INIT:
+ case INIT:
case DISC_SENT:
hd_writeinternal (hdp, DISC, POLLON);
break;
- case ABM:
+ case ABM:
if (hdp->hd_lastrxnr != hdp->hd_vs) { /* XXX */
hdp->hd_timeouts++;
hd_resend_iframe (hdp);
}
break;
- case WAIT_SABM:
+ case WAIT_SABM:
hd_writeinternal (hdp, FRMR, POLLOFF);
if (++hdp->hd_retxcnt == hd_n2) {
hdp->hd_retxcnt = 0;
@@ -104,7 +104,7 @@ hd_timer ()
}
break;
- case DM_SENT:
+ case DM_SENT:
if (++hdp->hd_retxcnt == hd_n2) {
/* Notify the packet level. */
(void) pk_ctlinput (PRC_LINKDOWN, hdp->hd_pkp);
@@ -115,7 +115,7 @@ hd_timer ()
hd_writeinternal (hdp, DM, POLLOFF);
break;
- case WAIT_UA:
+ case WAIT_UA:
if (++hdp->hd_retxcnt == hd_n2) {
hdp->hd_retxcnt = 0;
hd_writeinternal (hdp, DM, POLLOFF);
@@ -124,7 +124,7 @@ hd_timer ()
hd_writeinternal (hdp, SABM, POLLOFF);
break;
- case SABM_SENT:
+ case SABM_SENT:
/* Do this indefinitely. */
hd_writeinternal (hdp, SABM, POLLON);
break;
OpenPOWER on IntegriCloud