summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2003-12-30 22:53:54 +0000
committermickey <mickey@openbsd.org>2003-12-30 22:53:54 +0000
commit8b95169be07de8980b64b8c7054cb4d1abd4afa9 (patch)
treeb029216b95a4eba071fabd4f9f6ed2c7b7acc641
parenta few more for the new years day (diff)
downloadwireguard-openbsd-8b95169be07de8980b64b8c7054cb4d1abd4afa9.tar.xz
wireguard-openbsd-8b95169be07de8980b64b8c7054cb4d1abd4afa9.zip
kill a local var that is set and never used then later
-rw-r--r--sys/arch/hppa/hppa/intr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa/hppa/intr.c b/sys/arch/hppa/hppa/intr.c
index 48781e58fa3..ee50dfbb455 100644
--- a/sys/arch/hppa/hppa/intr.c
+++ b/sys/arch/hppa/hppa/intr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.c,v 1.15 2003/12/30 21:21:40 mickey Exp $ */
+/* $OpenBSD: intr.c,v 1.16 2003/12/30 22:53:54 mickey Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff
@@ -223,9 +223,9 @@ cpu_intr(void *v)
{
struct trapframe *frame = v;
u_long mask;
- int oldintr, s = cpl;
+ int s = cpl;
- if ((oldintr = cpu_inintr++))
+ if (cpu_inintr++)
frame->tf_flags |= TFF_INTR;
while ((mask = ipending & ~imask[s])) {