summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2016-12-19 07:36:49 +0000
committerjsg <jsg@openbsd.org>2016-12-19 07:36:49 +0000
commitc08598965c575a2268b8e8354cf51649da42241a (patch)
treea57e13ac3ae72633db0eca5c7637375f0f6c86c4
parentansify function declaration; better whitespace (diff)
downloadwireguard-openbsd-c08598965c575a2268b8e8354cf51649da42241a.tar.xz
wireguard-openbsd-c08598965c575a2268b8e8354cf51649da42241a.zip
remove redundant return statements
ok patrick@
-rw-r--r--sys/arch/arm64/arm64/pmap.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/arm64/arm64/pmap.c b/sys/arch/arm64/arm64/pmap.c
index 89a5687e4f4..f1a62abbeb6 100644
--- a/sys/arch/arm64/arm64/pmap.c
+++ b/sys/arch/arm64/arm64/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.1 2016/12/17 23:38:33 patrick Exp $ */
+/* $OpenBSD: pmap.c,v 1.2 2016/12/19 07:36:49 jsg Exp $ */
/*
* Copyright (c) 2008-2009,2014-2016 Dale Rahn <drahn@dalerahn.com>
*
@@ -240,21 +240,18 @@ STATIC __inline int
VP_IDX1(vaddr_t va)
{
return (va >> VP_IDX1_POS) & VP_IDX1_MASK;
- return 0;
}
STATIC __inline int
VP_IDX2(vaddr_t va)
{
return (va >> VP_IDX2_POS) & VP_IDX2_MASK;
- return 0;
}
STATIC __inline int
VP_IDX3(vaddr_t va)
{
return (va >> VP_IDX3_POS) & VP_IDX3_MASK;
- return 0;
}
#if 0
@@ -2243,7 +2240,6 @@ pmap_map_stolen(vaddr_t kernel_start)
}
printf("last mapping v %16llx p %16llx\n", va, pa);
return va + PAGE_SIZE;
- return 0;
}
void