diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2018-11-22 00:37:36 +0200 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2018-11-21 15:36:46 -0800 |
commit | 3e431666a79b79e6d00fc8923566d0e25fc5112d (patch) | |
tree | ae461493c82cea4c31645be5a18973562127542f /arch/mips/cavium-octeon | |
parent | 5f35b33ac41ecc553030cfda0147e46f52be3760 (diff) | |
download | linux-stable-3e431666a79b79e6d00fc8923566d0e25fc5112d.tar.gz linux-stable-3e431666a79b79e6d00fc8923566d0e25fc5112d.tar.bz2 linux-stable-3e431666a79b79e6d00fc8923566d0e25fc5112d.zip |
MIPS: OCTEON: cvmx-bootmem: delete unused functions
Delete unused functions.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/21191/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Diffstat (limited to 'arch/mips/cavium-octeon')
-rw-r--r-- | arch/mips/cavium-octeon/executive/cvmx-bootmem.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/mips/cavium-octeon/executive/cvmx-bootmem.c b/arch/mips/cavium-octeon/executive/cvmx-bootmem.c index c2dbf0b8b909..dc5d1c6203a7 100644 --- a/arch/mips/cavium-octeon/executive/cvmx-bootmem.c +++ b/arch/mips/cavium-octeon/executive/cvmx-bootmem.c @@ -155,11 +155,6 @@ void *cvmx_bootmem_alloc_address(uint64_t size, uint64_t address, address + size); } -void *cvmx_bootmem_alloc(uint64_t size, uint64_t alignment) -{ - return cvmx_bootmem_alloc_range(size, alignment, 0, 0); -} - void *cvmx_bootmem_alloc_named_range_once(uint64_t size, uint64_t min_addr, uint64_t max_addr, uint64_t align, char *name, @@ -210,13 +205,6 @@ void *cvmx_bootmem_alloc_named_range(uint64_t size, uint64_t min_addr, return NULL; } -void *cvmx_bootmem_alloc_named_address(uint64_t size, uint64_t address, - char *name) -{ - return cvmx_bootmem_alloc_named_range(size, address, address + size, - 0, name); -} - void *cvmx_bootmem_alloc_named(uint64_t size, uint64_t alignment, char *name) { return cvmx_bootmem_alloc_named_range(size, 0, 0, alignment, name); |