Source-Changes-HG archive

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

[src/trunk]: src/sys/dev Simplify an expression.



details:   https://anonhg.NetBSD.org/src/rev/39db95f8d615
branches:  trunk
changeset: 485818:39db95f8d615
user:      augustss <augustss%NetBSD.org@localhost>
date:      Sat May 06 14:35:28 2000 +0000

description:
Simplify an expression.

diffstat:

 sys/dev/midi.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f3976b1e9744 -r 39db95f8d615 sys/dev/midi.c
--- a/sys/dev/midi.c    Sat May 06 14:34:31 2000 +0000
+++ b/sys/dev/midi.c    Sat May 06 14:35:28 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: midi.c,v 1.15 2000/03/23 07:01:26 thorpej Exp $        */
+/*     $NetBSD: midi.c,v 1.16 2000/05/06 14:35:28 augustss Exp $       */
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -113,7 +113,7 @@
 
        DPRINTFN(6,("midiprobe: type=%d sa=%p hw=%p\n", 
                 sa->type, sa, sa->hwif));
-       return (sa->type == AUDIODEV_TYPE_MIDI) ? 1 : 0;
+       return (sa->type == AUDIODEV_TYPE_MIDI);
 }
 
 void



Home | Main Index | Thread Index | Old Index