Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/drm drm: Omit bogus __unused attributes.



details:   https://anonhg.NetBSD.org/src/rev/30487eb7a3a0
branches:  trunk
changeset: 1028657:30487eb7a3a0
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:36:41 2021 +0000

description:
drm: Omit bogus __unused attributes.

diffstat:

 sys/external/bsd/drm2/drm/drm_cdevsw.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b0f6f357e408 -r 30487eb7a3a0 sys/external/bsd/drm2/drm/drm_cdevsw.c
--- a/sys/external/bsd/drm2/drm/drm_cdevsw.c    Sun Dec 19 11:36:32 2021 +0000
+++ b/sys/external/bsd/drm2/drm/drm_cdevsw.c    Sun Dec 19 11:36:41 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_cdevsw.c,v 1.27 2021/12/19 11:08:55 riastradh Exp $        */
+/*     $NetBSD: drm_cdevsw.c,v 1.28 2021/12/19 11:36:41 riastradh Exp $        */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_cdevsw.c,v 1.27 2021/12/19 11:08:55 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_cdevsw.c,v 1.28 2021/12/19 11:36:41 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -398,7 +398,7 @@
 }
 
 static int
-drm_poll(struct file *fp __unused, int events __unused)
+drm_poll(struct file *fp, int events)
 {
        struct drm_file *const file = fp->f_data;
        struct drm_device *const dev = file->minor->dev;



Home | Main Index | Thread Index | Old Index