diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2016-12-19 07:36:50 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2016-12-19 07:36:50 +0000 |
commit | acb3c9d8e437031f3a3f64373522ad87d0ec27a9 (patch) | |
tree | 4c8de91b99e3aa3fd6e31bc898bc72b2b8d33298 /sys/arch | |
parent | 64a297567e749d71c2e876e513313706c99e925a (diff) |
remove redundant return statements
ok patrick@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/arm64/arm64/pmap.c | 6 |
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 |