Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb uvideo(4): Use __nothing for empty DPRINTF, not ...



details:   https://anonhg.NetBSD.org/src/rev/49d75a4f4d49
branches:  trunk
changeset: 362574:49d75a4f4d49
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Mar 03 06:21:50 2022 +0000

description:
uvideo(4): Use __nothing for empty DPRINTF, not actually empty.

diffstat:

 sys/dev/usb/uvideo.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 3efb10363f7c -r 49d75a4f4d49 sys/dev/usb/uvideo.c
--- a/sys/dev/usb/uvideo.c      Thu Mar 03 06:13:35 2022 +0000
+++ b/sys/dev/usb/uvideo.c      Thu Mar 03 06:21:50 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvideo.c,v 1.64 2022/01/09 18:27:23 riastradh Exp $    */
+/*     $NetBSD: uvideo.c,v 1.65 2022/03/03 06:21:50 riastradh Exp $    */
 
 /*
  * Copyright (c) 2008 Patrick Mahoney
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvideo.c,v 1.64 2022/01/09 18:27:23 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvideo.c,v 1.65 2022/03/03 06:21:50 riastradh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -91,8 +91,8 @@
 #define DPRINTFN(n,x)  do { if (uvideodebug>(n)) printf x; } while (0)
 int    uvideodebug = 20;
 #else
-#define DPRINTF(x)
-#define DPRINTFN(n,x)
+#define DPRINTF(x)     __nothing
+#define DPRINTFN(n,x)  __nothing
 #endif
 
 typedef enum {



Home | Main Index | Thread Index | Old Index