The branch main has been updated by markj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=5e213d8a7462968e10370506a4905eab0dd48e65

commit 5e213d8a7462968e10370506a4905eab0dd48e65
Author:     Mark Johnston <ma...@freebsd.org>
AuthorDate: 2025-07-03 17:28:10 +0000
Commit:     Mark Johnston <ma...@freebsd.org>
CommitDate: 2025-07-03 17:31:42 +0000

    random: Remove ARGSUSED annotations from random_harvestq.c
    
    Such annotations are obsolete, the compiler tells us when parameters are
    unused.  No functional change intended.
    
    Reviewed by:    cem
    MFC after:      1 week
    Sponsored by:   Stormshield
    Sponsored by:   Klara, Inc.
    Differential Revision:  https://reviews.freebsd.org/D51114
---
 sys/dev/random/random_harvestq.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/sys/dev/random/random_harvestq.c b/sys/dev/random/random_harvestq.c
index ef12fe2d2e44..ee37bda36496 100644
--- a/sys/dev/random/random_harvestq.c
+++ b/sys/dev/random/random_harvestq.c
@@ -311,7 +311,6 @@ random_sources_feed(void)
        explicit_bzero(entropy, sizeof(entropy));
 }
 
-/* ARGSUSED */
 static int
 random_check_uint_harvestmask(SYSCTL_HANDLER_ARGS)
 {
@@ -342,7 +341,6 @@ SYSCTL_PROC(_kern_random_harvest, OID_AUTO, mask,
     random_check_uint_harvestmask, "IU",
     "Entropy harvesting mask");
 
-/* ARGSUSED */
 static int
 random_print_harvestmask(SYSCTL_HANDLER_ARGS)
 {
@@ -396,7 +394,6 @@ static const char *random_source_descr[ENTROPYSOURCE] = {
        /* "ENTROPYSOURCE" */
 };
 
-/* ARGSUSED */
 static int
 random_print_harvestmask_symbolic(SYSCTL_HANDLER_ARGS)
 {
@@ -429,7 +426,6 @@ SYSCTL_PROC(_kern_random_harvest, OID_AUTO, mask_symbolic,
     random_print_harvestmask_symbolic, "A",
     "Entropy harvesting mask (symbolic)");
 
-/* ARGSUSED */
 static void
 random_harvestq_init(void *unused __unused)
 {
@@ -499,7 +495,6 @@ random_prime_loader_file(const char *type)
  * known to the kernel, and inserting it directly into the hashing
  * module, currently Fortuna.
  */
-/* ARGSUSED */
 static void
 random_harvestq_prime(void *unused __unused)
 {
@@ -528,7 +523,6 @@ random_harvestq_prime(void *unused __unused)
 }
 SYSINIT(random_device_prime, SI_SUB_RANDOM, SI_ORDER_MIDDLE, 
random_harvestq_prime, NULL);
 
-/* ARGSUSED */
 static void
 random_harvestq_deinit(void *unused __unused)
 {

Reply via email to