diff mbox

[U-Boot] armv8/layerscape: remove unnecessary function declares

Message ID 1479202524-16040-1-git-send-email-Minghuan.Lian@nxp.com
State Accepted
Commit 388f3865832fd4118974854813d119b82220446c
Delegated to: York Sun
Headers show

Commit Message

M.h. Lian Nov. 15, 2016, 9:35 a.m. UTC
For the function alloc_stream_ids() append_mmu_masters() and
fdt_fixup_smmu_pcie() there are no related definitions and they
are never called. So the patch removes the unnecessary declares.

Signed-off-by: Minghuan Lian <Minghuan.Lian@nxp.com>
---
 arch/arm/include/asm/arch-fsl-layerscape/fdt.h | 4 ----
 1 file changed, 4 deletions(-)

Comments

York Sun Jan. 19, 2017, 5:26 p.m. UTC | #1
On 11/15/2016 01:33 AM, Minghuan Lian wrote:
> For the function alloc_stream_ids() append_mmu_masters() and
> fdt_fixup_smmu_pcie() there are no related definitions and they
> are never called. So the patch removes the unnecessary declares.
>
> Signed-off-by: Minghuan Lian <Minghuan.Lian@nxp.com>
> ---

Applied to fsl-qoriq master, awaiting upstream. Thanks.

York
diff mbox

Patch

diff --git a/arch/arm/include/asm/arch-fsl-layerscape/fdt.h b/arch/arm/include/asm/arch-fsl-layerscape/fdt.h
index 099563e..537486d 100644
--- a/arch/arm/include/asm/arch-fsl-layerscape/fdt.h
+++ b/arch/arm/include/asm/arch-fsl-layerscape/fdt.h
@@ -7,9 +7,5 @@ 
 #ifndef _ASM_ARMV8_FSL_LAYERSCAPE_FDT_H_
 #define _ASM_ARMV8_FSL_LAYERSCAPE_FDT_H_
 
-void alloc_stream_ids(int start_id, int count, u32 *stream_ids, int max_cnt);
-void append_mmu_masters(void *blob, const char *smmu_path,
-			const char *master_name, u32 *stream_ids, int count);
-void fdt_fixup_smmu_pcie(void *blob);
 void fdt_fixup_board_enet(void *fdt);
 #endif	/* _ASM_ARMV8_FSL_LAYERSCAPE_FDT_H_ */