summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/ipl_funcs.c
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>1998-12-07 21:58:50 +0000
committerarchie <archie@FreeBSD.org>1998-12-07 21:58:50 +0000
commit60d13c7a9dd18f720483338ebef03609492ca98c (patch)
tree5709d8cdab99e3c1cb9ae7c2117627c1031fdf39 /sys/i386/isa/ipl_funcs.c
parent2f8d013d96c256b3a48e227aab238e53eb9304cf (diff)
downloadFreeBSD-src-60d13c7a9dd18f720483338ebef03609492ca98c.zip
FreeBSD-src-60d13c7a9dd18f720483338ebef03609492ca98c.tar.gz
The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static
and local variables, goto labels, and functions declared but not defined.
Diffstat (limited to 'sys/i386/isa/ipl_funcs.c')
-rw-r--r--sys/i386/isa/ipl_funcs.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/i386/isa/ipl_funcs.c b/sys/i386/isa/ipl_funcs.c
index cd4628c..38b1945 100644
--- a/sys/i386/isa/ipl_funcs.c
+++ b/sys/i386/isa/ipl_funcs.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ipl_funcs.c,v 1.12 1998/01/15 07:34:01 gibbs Exp $
+ * $Id: ipl_funcs.c,v 1.13 1998/02/01 22:04:58 bde Exp $
*/
#include <sys/types.h>
@@ -379,9 +379,10 @@ splx(unsigned ipl)
intrmask_t
splq(intrmask_t mask)
{
- intrmask_t tmp, tmp2;
-
+ intrmask_t tmp;
#ifdef INTR_SPL
+ intrmask_t tmp2;
+
for (;;) {
IFCPL_LOCK();
tmp = tmp2 = cpl;
OpenPOWER on IntegriCloud