Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1864009ybj; Wed, 6 May 2020 06:48:34 -0700 (PDT) X-Google-Smtp-Source: APiQypIhUq3vl96nfPShC66TsnKAAy9OAn8IOb58KP58qidm8tDoV3taSK/DAPT82fRvqhSITD7F X-Received: by 2002:a05:6402:6d5:: with SMTP id n21mr7161858edy.82.1588772914117; Wed, 06 May 2020 06:48:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588772914; cv=none; d=google.com; s=arc-20160816; b=u9q5Vc5VJQ4cMzIWDMehq5+2bOsX0CzTxI99dxZG2EO2hBAohoBP3904GXZAUf5DPL AQPQDJaA/jkKEw867VbRsRAe/HGvH3khZE6vpaj87NTSeLk1Mm0znyNicebkPgipGFPO zuZYSfh/x+PJoYBXRCa75BrZAXbYZmUU3Mr61Wy4aUtLVTtuFCczMP3KwwBBUPh0m0QN RlKt9gCsnV1P+9x3Bnuikjaa/h0hKUin3O5YCtHbel+jDksujV/hN7E8gFGzI8mWI219 5TOsJOYanaSN70Z7Jd1bx668K5rmC6P0xYdLnTh70yxBR6YTRQ3UqY8EdifRfHBGl8Fj x7Sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=C7+moEOqmWPGWA84DR9dF6fK3+SeF43oCYL3kyk4wqc=; b=j8Z2XrpbSK6uG7Wx11oU+3QPMrJHiWILvq74il6NPlhVHEW4SVsBUHk/skRILuqhBI QNuhgKK2DqW5X5KQqrDlGvoLEO+ye1hQ4y1UjcWmAetCrOulXhfQ7YITaZ4fAv2bi6t9 8ab/CwbbVh1s7VYl8E4z31XqLvv425oekoovf82A7gVcuA4TsHoRD2l5nJD78IZ4dVg1 p3jdvO9XXSoqgc3EpON4q6G8CfBVzToRzL8rOseYkDGP9hyJXXBfxNy2oPsOEMb+W8Dz 8NOsFB+GlNrGFbYzEfZdIVrxhvuZK2c5TN2pBbbv+/X6FpZzCh5jEwEAJcURK/W9EPR3 AEOA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d6si1124749edo.493.2020.05.06.06.48.10; Wed, 06 May 2020 06:48:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728803AbgEFNny (ORCPT + 99 others); Wed, 6 May 2020 09:43:54 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:59270 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728794AbgEFNnw (ORCPT ); Wed, 6 May 2020 09:43:52 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id A131CA0DF2C0F0C7F7E7; Wed, 6 May 2020 21:43:50 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.487.0; Wed, 6 May 2020 21:43:45 +0800 From: Jason Yan To: , , , CC: Jason Yan Subject: [PATCH] MIPS: CFE: Remove dead code in cfe_getfwinfo() Date: Wed, 6 May 2020 21:43:07 +0800 Message-ID: <20200506134307.32722-1-yanaijie@huawei.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.28] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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