MIPS: CFE: Remove dead code in cfe_getfwinfo()
authorJason Yan <yanaijie@huawei.com>
Wed, 6 May 2020 13:43:07 +0000 (21:43 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 7 May 2020 08:29:42 +0000 (10:29 +0200)
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 <yanaijie@huawei.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/fw/cfe/cfe_api.c

index c020b29f561c7179b77bc71d7f777571e52d60b9..0c9c97ab291e7a0e2c3b7879307d5f35f430d988 100644 (file)
@@ -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;
 }