Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1202274pxk; Fri, 4 Sep 2020 03:31:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8G90ZbGOvRQ/5WHlV0Ati+eydClfJbxZzKhiFD1VwCEXc+o+4GSD9tGZRIB6bT2N88SoW X-Received: by 2002:a50:f69a:: with SMTP id d26mr7474432edn.21.1599215518105; Fri, 04 Sep 2020 03:31:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599215518; cv=none; d=google.com; s=arc-20160816; b=Rt1ANOVpVHmMlhkAzkZAVTlxdoUhMoVCHJxPjfwtvHnYZcqyRCM8dBqU4iwLyCHW2S Fp2emhsh44SVqE5O2PAKgMtcisCM59/o1qSKKd+fJ8Ie2/X0yACiDR/d9izktxM4EFN3 28ET+E117jhYcpH9NXD1Wxz24Nv/HN9ZoXN2cE3yE7Z84YJStE41ecqaQ8gCBhOyTvWk hXiOeU/GwZGb17U0RxD6Ftk4kTzBq1ECH9niRu3JMeyVHvq8WuKCziVk83HmRC6cF5tO 1gA4XcDkDbEPRhBDHHLKT/lIsPKltToiQH4yT6Nk9+J39ZK24OCvxndR69+xAfZSJa58 A4qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=aErEqkwSJlnoyW+x7o9ZjCeZj+HnHpvOyQ3W0Ujuxlk=; b=FIef8gkx/m6XkUiqjcVd6sCZP3jm3q6eNeeqKCt6ixAmf69IbFTqvFiX91Ht91CdqN cgwOJpQn+wGTpFH7s7QnO///wlvJAUEEXowh9z4NRy42vCQn1YHrPJiQY0k8lLtVRBNh rV6WjHxn1m/UN0xJ/GRzvUF2QI0WdseeviP8vnPsww+VUOTarE1aRKhSHY06eXxgwwBc VvUPKVSsGz3B/AXtoCehh2YNocC9rAZV19A15HjlpUI2MOpXVPNiZZ5Fo3AHDSzBZWps TDLZA+yAGmUvPeBXgh61eIhmgJeoI8/x57Vhphv5e2gRO4OTcddN3dEvknZCEq2IL4P4 HCHQ== 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 cx17si3478520edb.409.2020.09.04.03.31.34; Fri, 04 Sep 2020 03:31:58 -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 S1730070AbgIDKay (ORCPT + 99 others); Fri, 4 Sep 2020 06:30:54 -0400 Received: from mail.loongson.cn ([114.242.206.163]:42988 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730185AbgIDKaA (ORCPT ); Fri, 4 Sep 2020 06:30:00 -0400 Received: from bogon.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9DxX90gF1Jfx8AQAA--.125S2; Fri, 04 Sep 2020 18:29:53 +0800 (CST) From: Jinyang He To: Huacai Chen , Jiaxun Yang , Thomas Bogendoerfer Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] MIPS: Loongson64: Remove unused loongson_reboot. Date: Fri, 4 Sep 2020 18:29:51 +0800 Message-Id: <1599215391-2644-1-git-send-email-hejinyang@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf9DxX90gF1Jfx8AQAA--.125S2 X-Coremail-Antispam: 1UD129KBjvdXoW7GF15WrWkJr1rCF4UZFW3Awb_yoWxZrX_tF W2yr4rWF9ayr1xCa4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ing-List: linux-kernel@vger.kernel.org Commit 1bdb7b76705a ("MIPS: Loongson64: Cleanup unused code") left the loongson_reboot unused, delete it. Signed-off-by: Jinyang He --- arch/mips/loongson64/reset.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/mips/loongson64/reset.c b/arch/mips/loongson64/reset.c index bc76710..3bb8a1e 100644 --- a/arch/mips/loongson64/reset.c +++ b/arch/mips/loongson64/reset.c @@ -15,11 +15,6 @@ #include #include -static inline void loongson_reboot(void) -{ - ((void (*)(void))ioremap(LOONGSON_BOOT_BASE, 4)) (); -} - static void loongson_restart(char *command) { -- 2.1.0