diff options
author | imp <imp@FreeBSD.org> | 2002-07-21 04:24:30 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-07-21 04:24:30 +0000 |
commit | ce61f92eb6b117c5a5f8b7218b71b332f10cc33f (patch) | |
tree | 5d6758ce78e6912deadffc2001a60d70677d51ec /sys/dev/sn/if_sn.c | |
parent | 4b7886733a48d9cf7b7643bbf3af531071c43bbb (diff) | |
download | FreeBSD-src-ce61f92eb6b117c5a5f8b7218b71b332f10cc33f.zip FreeBSD-src-ce61f92eb6b117c5a5f8b7218b71b332f10cc33f.tar.gz |
Minor whitespace nits. remove #if 1 and #endif pair, but not code between.
Diffstat (limited to 'sys/dev/sn/if_sn.c')
-rw-r--r-- | sys/dev/sn/if_sn.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/sn/if_sn.c b/sys/dev/sn/if_sn.c index 72fa100..ed27512 100644 --- a/sys/dev/sn/if_sn.c +++ b/sys/dev/sn/if_sn.c @@ -827,7 +827,6 @@ sn_intr(void *arg) * Receive Overrun. */ if (status & IM_RX_OVRN_INT) { - /* * Acknowlege Interrupt */ @@ -840,29 +839,24 @@ sn_intr(void *arg) * Got a packet. */ if (status & IM_RCV_INT) { -#if 1 int packet_number; SMC_SELECT_BANK(2); packet_number = inw(BASE + FIFO_PORTS_REG_W); if (packet_number & FIFO_REMPTY) { - /* * we got called , but nothing was on the FIFO */ printf("sn: Receive interrupt with nothing on FIFO\n"); - goto out; } -#endif snread(ifp); } /* * An on-card memory allocation came through. */ if (status & IM_ALLOC_INT) { - /* * Disable this interrupt. */ @@ -875,7 +869,6 @@ sn_intr(void *arg) * called when there is an error, because of the AUTO_RELEASE mode. */ if (status & IM_TX_INT) { - /* * Acknowlege Interrupt */ |