Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/cortex Remove unused variable (build fix)
details: https://anonhg.NetBSD.org/src/rev/6be74efa60be
branches: trunk
changeset: 457414:6be74efa60be
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Jun 23 16:04:52 2019 +0000
description:
Remove unused variable (build fix)
diffstat:
sys/arch/arm/cortex/gicv3_its.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r eaaa33d6ba24 -r 6be74efa60be sys/arch/arm/cortex/gicv3_its.c
--- a/sys/arch/arm/cortex/gicv3_its.c Sun Jun 23 16:04:34 2019 +0000
+++ b/sys/arch/arm/cortex/gicv3_its.c Sun Jun 23 16:04:52 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gicv3_its.c,v 1.15 2019/06/23 16:03:30 jmcneill Exp $ */
+/* $NetBSD: gicv3_its.c,v 1.16 2019/06/23 16:04:52 jmcneill Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
#define _INTR_PRIVATE
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gicv3_its.c,v 1.15 2019/06/23 16:03:30 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gicv3_its.c,v 1.16 2019/06/23 16:04:52 jmcneill Exp $");
#include <sys/param.h>
#include <sys/kmem.h>
@@ -312,7 +312,6 @@
vectors++;
const uint64_t typer = gits_read_8(its, GITS_TYPER);
- const u_int id_bits = __SHIFTOUT(typer, GITS_TYPER_ID_bits) + 1;
const u_int itt_entry_size = __SHIFTOUT(typer, GITS_TYPER_ITT_entry_size) + 1;
const u_int itt_size = roundup(vectors * itt_entry_size, GITS_ITT_ALIGN);
Home |
Main Index |
Thread Index |
Old Index