Module Name: src Committed By: riastradh Date: Thu Mar 3 06:21:50 UTC 2022
Modified Files: src/sys/dev/usb: uvideo.c Log Message: uvideo(4): Use __nothing for empty DPRINTF, not actually empty. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/dev/usb/uvideo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/uvideo.c diff -u src/sys/dev/usb/uvideo.c:1.64 src/sys/dev/usb/uvideo.c:1.65 --- src/sys/dev/usb/uvideo.c:1.64 Sun Jan 9 18:27:23 2022 +++ src/sys/dev/usb/uvideo.c Thu Mar 3 06:21:50 2022 @@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: uvideo.c,v 1 #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 {