Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/cardbus remove empty default: cases.



details:   https://anonhg.NetBSD.org/src/rev/75c2596af14b
branches:  trunk
changeset: 512816:75c2596af14b
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Jul 17 13:55:51 2001 +0000

description:
remove empty default: cases.

diffstat:

 sys/dev/cardbus/if_tlp_cardbus.c |  9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diffs (33 lines):

diff -r 04427284dab1 -r 75c2596af14b sys/dev/cardbus/if_tlp_cardbus.c
--- a/sys/dev/cardbus/if_tlp_cardbus.c  Tue Jul 17 13:55:12 2001 +0000
+++ b/sys/dev/cardbus/if_tlp_cardbus.c  Tue Jul 17 13:55:51 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_tlp_cardbus.c,v 1.27 2001/04/13 00:18:11 kanaoka Exp $      */
+/*     $NetBSD: if_tlp_cardbus.c,v 1.28 2001/07/17 13:55:51 mrg Exp $  */
 
 /*-
  * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -265,13 +265,9 @@
                        sc->sc_chip = TULIP_CHIP_AN983;
                        break;
 
-               default:
-                       /* Unknown -- use default. */
                }
                break;
 
-       default:
-               /* Nothing. */
        }
 
        printf(": %s Ethernet, pass %d.%d\n",
@@ -571,9 +567,6 @@
                        cardbus_conf_write(cc, cf, csc->sc_tag, TULIP_PCI_CFDA,
                            reg & ~(CFDA_SLEEP|CFDA_SNOOZE));
                break;
-
-       default:
-               /* Nothing. */
        }
 
        if (cardbus_get_capability(cc, cf, csc->sc_tag,



Home | Main Index | Thread Index | Old Index