summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2006-08-17 22:50:33 +0000
committerimp <imp@FreeBSD.org>2006-08-17 22:50:33 +0000
commitdb85f415fa8cd00a377c51e17e5449cbbfe54f2d (patch)
treeebf398010668cc2bb542a2cd863c39769afc3743 /sys/dev/ath
parentff9e3178175b11cd7809c6ada10182a3554f2397 (diff)
downloadFreeBSD-src-db85f415fa8cd00a377c51e17e5449cbbfe54f2d.zip
FreeBSD-src-db85f415fa8cd00a377c51e17e5449cbbfe54f2d.tar.gz
while (0); -> while (0) in multi-line macros
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/if_athvar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/if_athvar.h b/sys/dev/ath/if_athvar.h
index b96c062..46f7308 100644
--- a/sys/dev/ath/if_athvar.h
+++ b/sys/dev/ath/if_athvar.h
@@ -149,7 +149,7 @@ struct ath_txq {
snprintf((_tq)->axq_name, sizeof((_tq)->axq_name), "%s_txq%u", \
device_get_nameunit((_sc)->sc_dev), (_tq)->axq_qnum); \
mtx_init(&(_tq)->axq_lock, (_tq)->axq_name, "ath_txq", MTX_DEF); \
-} while (0);
+} while (0)
#define ATH_TXQ_LOCK_DESTROY(_tq) mtx_destroy(&(_tq)->axq_lock)
#define ATH_TXQ_LOCK(_tq) mtx_lock(&(_tq)->axq_lock)
#define ATH_TXQ_UNLOCK(_tq) mtx_unlock(&(_tq)->axq_lock)
OpenPOWER on IntegriCloud