Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Dec 2020 10:57:39 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 7cb901bf227f - main - Remove useless ARGUSED annotations.
Message-ID:  <202012271057.0BRAvd03013929@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=7cb901bf227f1591f208a9df5ddc948c6124e0a8

commit 7cb901bf227f1591f208a9df5ddc948c6124e0a8
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2020-12-23 13:25:02 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2020-12-27 10:57:26 +0000

    Remove useless ARGUSED annotations.
    
    Submitted by:   greg@unrelenting.technology
---
 sys/compat/linux/linux_event.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/sys/compat/linux/linux_event.c b/sys/compat/linux/linux_event.c
index 6afdcbec6b80..c67d62d8aff0 100644
--- a/sys/compat/linux/linux_event.c
+++ b/sys/compat/linux/linux_event.c
@@ -879,7 +879,6 @@ eventfd_poll(struct file *fp, int events, struct ucred *active_cred,
 	return (revents);
 }
 
-/*ARGSUSED*/
 static int
 eventfd_kqfilter(struct file *fp, struct knote *kn)
 {
@@ -919,7 +918,6 @@ filt_eventfddetach(struct knote *kn)
 	mtx_unlock(&efd->efd_lock);
 }
 
-/*ARGSUSED*/
 static int
 filt_eventfdread(struct knote *kn, long hint)
 {
@@ -932,7 +930,6 @@ filt_eventfdread(struct knote *kn, long hint)
 	return (ret);
 }
 
-/*ARGSUSED*/
 static int
 filt_eventfdwrite(struct knote *kn, long hint)
 {
@@ -945,7 +942,6 @@ filt_eventfdwrite(struct knote *kn, long hint)
 	return (ret);
 }
 
-/*ARGSUSED*/
 static int
 eventfd_ioctl(struct file *fp, u_long cmd, void *data,
     struct ucred *active_cred, struct thread *td)
@@ -969,7 +965,6 @@ eventfd_ioctl(struct file *fp, u_long cmd, void *data,
 	}
 }
 
-/*ARGSUSED*/
 static int
 eventfd_stat(struct file *fp, struct stat *st, struct ucred *active_cred,
     struct thread *td)
@@ -978,7 +973,6 @@ eventfd_stat(struct file *fp, struct stat *st, struct ucred *active_cred,
 	return (ENXIO);
 }
 
-/*ARGSUSED*/
 static int
 eventfd_fill_kinfo(struct file *fp, struct kinfo_file *kif, struct filedesc *fdp)
 {
@@ -1122,7 +1116,6 @@ timerfd_poll(struct file *fp, int events, struct ucred *active_cred,
 	return (revents);
 }
 
-/*ARGSUSED*/
 static int
 timerfd_kqfilter(struct file *fp, struct knote *kn)
 {
@@ -1153,7 +1146,6 @@ filt_timerfddetach(struct knote *kn)
 	mtx_unlock(&tfd->tfd_lock);
 }
 
-/*ARGSUSED*/
 static int
 filt_timerfdread(struct knote *kn, long hint)
 {
@@ -1162,7 +1154,6 @@ filt_timerfdread(struct knote *kn, long hint)
 	return (tfd->tfd_count > 0);
 }
 
-/*ARGSUSED*/
 static int
 timerfd_stat(struct file *fp, struct stat *st, struct ucred *active_cred,
     struct thread *td)
@@ -1171,7 +1162,6 @@ timerfd_stat(struct file *fp, struct stat *st, struct ucred *active_cred,
 	return (ENXIO);
 }
 
-/*ARGSUSED*/
 static int
 timerfd_fill_kinfo(struct file *fp, struct kinfo_file *kif, struct filedesc *fdp)
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012271057.0BRAvd03013929>