2020-05-06 13:48:34

by Jason Yan

[permalink] [raw]
Subject: [PATCH] MIPS: CFE: Remove dead code in cfe_getfwinfo()

This code has been marked dead since the beginning of the git history.
Seems no need to keep it now.

Signed-off-by: Jason Yan <[email protected]>
---
arch/mips/fw/cfe/cfe_api.c | 5 -----
1 file changed, 5 deletions(-)

diff --git a/arch/mips/fw/cfe/cfe_api.c b/arch/mips/fw/cfe/cfe_api.c
index c020b29f561c..0c9c97ab291e 100644
--- a/arch/mips/fw/cfe/cfe_api.c
+++ b/arch/mips/fw/cfe/cfe_api.c
@@ -243,11 +243,6 @@ int cfe_getfwinfo(cfe_fwinfo_t * info)
info->fwi_bootarea_pa = xiocb.plist.xiocb_fwinfo.fwi_bootarea_pa;
info->fwi_bootarea_size =
xiocb.plist.xiocb_fwinfo.fwi_bootarea_size;
-#if 0
- info->fwi_reserved1 = xiocb.plist.xiocb_fwinfo.fwi_reserved1;
- info->fwi_reserved2 = xiocb.plist.xiocb_fwinfo.fwi_reserved2;
- info->fwi_reserved3 = xiocb.plist.xiocb_fwinfo.fwi_reserved3;
-#endif

return 0;
}
--
2.21.1


2020-05-07 08:41:10

by Thomas Bogendoerfer

[permalink] [raw]
Subject: Re: [PATCH] MIPS: CFE: Remove dead code in cfe_getfwinfo()

On Wed, May 06, 2020 at 09:43:07PM +0800, Jason Yan wrote:
> This code has been marked dead since the beginning of the git history.
> Seems no need to keep it now.
>
> Signed-off-by: Jason Yan <[email protected]>
> ---
> arch/mips/fw/cfe/cfe_api.c | 5 -----
> 1 file changed, 5 deletions(-)

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]