sys/lock.h: remove stray semicolon from SPINLOCK_BACKOFF macro

This commit is contained in:
rillig 2024-05-12 10:45:13 +00:00
parent e886a84233
commit 7d42dd44cb
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: lock.h,v 1.93 2024/05/12 10:34:56 rillig Exp $ */
/* $NetBSD: lock.h,v 1.94 2024/05/12 10:45:13 rillig Exp $ */
/*-
* Copyright (c) 1999, 2000, 2006, 2007 The NetBSD Foundation, Inc.
@ -69,7 +69,7 @@ do { \
} \
if ((count) < SPINLOCK_BACKOFF_MAX) \
(count) += (count); \
} while (0);
} while (0)
#ifdef LOCKDEBUG
#define SPINLOCK_SPINOUT(spins) ((spins)++ > 0x0fffffff)