All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] armv8/layerscape: remove unnecessary function declares
@ 2016-11-15  9:35 Minghuan Lian
  2017-01-19 17:26 ` york sun
  0 siblings, 1 reply; 2+ messages in thread
From: Minghuan Lian @ 2016-11-15  9:35 UTC (permalink / raw)
  To: u-boot

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(-)

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_ */
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] armv8/layerscape: remove unnecessary function declares
  2016-11-15  9:35 [U-Boot] [PATCH] armv8/layerscape: remove unnecessary function declares Minghuan Lian
@ 2017-01-19 17:26 ` york sun
  0 siblings, 0 replies; 2+ messages in thread
From: york sun @ 2017-01-19 17:26 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-19 17:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-15  9:35 [U-Boot] [PATCH] armv8/layerscape: remove unnecessary function declares Minghuan Lian
2017-01-19 17:26 ` york sun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.