Source-Changes-HG archive

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

[src/trunk]: src/sys/net Remove extra parenthesis.



details:   https://anonhg.NetBSD.org/src/rev/1c6e15ffec64
branches:  trunk
changeset: 451211:1c6e15ffec64
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri May 10 06:33:14 2019 +0000

description:
Remove extra parenthesis.

diffstat:

 sys/net/if_media.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r aba9d54ba8ba -r 1c6e15ffec64 sys/net/if_media.h
--- a/sys/net/if_media.h        Fri May 10 06:25:58 2019 +0000
+++ b/sys/net/if_media.h        Fri May 10 06:33:14 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_media.h,v 1.63 2019/04/24 05:07:20 msaitoh Exp $    */
+/*     $NetBSD: if_media.h,v 1.64 2019/05/10 06:33:14 msaitoh Exp $    */
 
 /*-
  * Copyright (c) 1998, 2000, 2001 The NetBSD Foundation, Inc.
@@ -137,7 +137,7 @@
 #define        IFM_MODE(x)     ((x) & IFM_MMASK)
 
 #define        IFM_TYPE_MATCH(dt, t)                                           \
-       (IFM_TYPE((dt)) == 0 || IFM_TYPE((dt)) == IFM_TYPE((t)))
+       (IFM_TYPE(dt) == 0 || IFM_TYPE(dt) == IFM_TYPE(t))
 
 #define        IFM_INST_MAX    IFM_INST(IFM_IMASK)
 #define        IFM_INST_ANY    ((u_int) -1)



Home | Main Index | Thread Index | Old Index