Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2023 17:03:33 GMT
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 1e0ba9d43cf0 - main - Hide irq_next_free, it's not used out of this file
Message-ID:  <202306281703.35SH3Xt5091849@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=1e0ba9d43cf035c63b8e525606ca5bc89f3b22a4

commit 1e0ba9d43cf035c63b8e525606ca5bc89f3b22a4
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2023-06-27 08:31:34 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2023-06-28 17:03:08 +0000

    Hide irq_next_free, it's not used out of this file
    
     Reviewed by:   mhorne
    Sponsored by:   Arm Ltd
    Differential Revision:  https://reviews.freebsd.org/D40767
---
 sys/kern/subr_intr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/subr_intr.c b/sys/kern/subr_intr.c
index cbacdf677ee6..5c7c99f458c1 100644
--- a/sys/kern/subr_intr.c
+++ b/sys/kern/subr_intr.c
@@ -135,7 +135,7 @@ static struct intr_pic *pic_lookup(device_t dev, intptr_t xref, int flags);
 /* Interrupt source definition. */
 static struct mtx isrc_table_lock;
 static struct intr_irqsrc **irq_sources;
-u_int irq_next_free;
+static u_int irq_next_free;
 
 #ifdef SMP
 #ifdef EARLY_AP_STARTUP



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