Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pcmcia KNF some comments.
details: https://anonhg.NetBSD.org/src/rev/650aa489db9e
branches: trunk
changeset: 485889:650aa489db9e
user: augustss <augustss%NetBSD.org@localhost>
date: Mon May 08 13:51:36 2000 +0000
description:
KNF some comments.
diffstat:
sys/dev/pcmcia/pcmcia.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (40 lines):
diff -r 742218e18dd1 -r 650aa489db9e sys/dev/pcmcia/pcmcia.c
--- a/sys/dev/pcmcia/pcmcia.c Mon May 08 13:49:44 2000 +0000
+++ b/sys/dev/pcmcia/pcmcia.c Mon May 08 13:51:36 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcmcia.c,v 1.21 2000/02/26 19:02:22 uch Exp $ */
+/* $NetBSD: pcmcia.c,v 1.22 2000/05/08 13:51:36 augustss Exp $ */
#define PCMCIADEBUG
@@ -815,10 +815,8 @@
*/
ihcnt = 0;
- s = 0; /* this is only here to keep the compipler
- happy */
- hiipl = 0; /* this is only here to keep the compipler
- happy */
+ s = 0; /* avoid compiler warning */
+ hiipl = 0; /* avoid compiler warning */
for (pf2 = pf->sc->card.pf_head.sqh_first; pf2 != NULL;
pf2 = pf2->pf_list.sqe_next) {
@@ -837,12 +835,14 @@
}
/*
- * if the ih being removed is lower priority than the lowest
+ * If the ih being removed is lower priority than the lowest
* priority remaining interrupt, up the priority.
*/
- /* ihcnt is the number of interrupt handlers *not* including
- the one about to be removed. */
+ /*
+ * ihcnt is the number of interrupt handlers *not* including
+ * the one about to be removed.
+ */
if (ihcnt == 0) {
int reg;
Home |
Main Index |
Thread Index |
Old Index