From patchwork Sun Sep 14 11:57:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 4901231 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C47BEBEEA5 for ; Sun, 14 Sep 2014 12:01:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 064FD2020E for ; Sun, 14 Sep 2014 12:01:35 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2DACE20114 for ; Sun, 14 Sep 2014 12:01:34 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XT8T0-0004DV-CO; Sun, 14 Sep 2014 11:59:42 +0000 Received: from mail-wi0-f169.google.com ([209.85.212.169]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XT8Sx-00048R-JE for linux-arm-kernel@lists.infradead.org; Sun, 14 Sep 2014 11:59:40 +0000 Received: by mail-wi0-f169.google.com with SMTP id cc10so1244811wib.0 for ; Sun, 14 Sep 2014 04:59:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Otxci1yid8vweSbm/bdVDBBnFOvkQKbgISq7K/PwAUc=; b=YXAUiAhCdrddomZW7DR8dSwT3g+hvEmomigXAUERxBdkJkmc9Rdm6A9tnM4KRbrFiT o6z919a346Yl1+XpGs6NIg1Zl4O/fCYZrb2FDDPRIE4RJvFQ0/F59dcWszP0Eps0F7pU EIdBDPydoGdxh36T6OrGBAImgAJr5hsddhWT3NbPhYz/eB7wXjePRroHpXW6el3PY+lP +dEhYCUqhnd7U+tWwj4Euqt2cmr2/X53qADQXz4dT7Ky+puB31WRs6kDg4itwQZ39NZx bWveDth/pvkqavBDZsqllltJ9fYu8PtFqj+I4l+SghSuNorVE6dYRUDecumYs/dqO7m/ 1aqw== X-Gm-Message-State: ALoCoQnNgNmY5CYO4RBEWEqkUjXdv6Y5SQERcGq4S5yox9b28urbYfcgorBSMYE8WI0D8xAkknBR X-Received: by 10.194.120.101 with SMTP id lb5mr24815460wjb.84.1410695954718; Sun, 14 Sep 2014 04:59:14 -0700 (PDT) Received: from harvey.bri.st.com ([212.183.140.14]) by mx.google.com with ESMTPSA id fh5sm7947027wib.5.2014.09.14.04.59.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Sep 2014 04:59:13 -0700 (PDT) From: Daniel Thompson To: Russell King Subject: [PATCH 3.17-rc4 v6 1/6] ARM: remove unused do_unexp_fiq() function Date: Sun, 14 Sep 2014 12:57:10 +0100 Message-Id: <1410695835-10496-2-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1410695835-10496-1-git-send-email-daniel.thompson@linaro.org> References: <1410695835-10496-1-git-send-email-daniel.thompson@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140914_045939_792167_B45B530F X-CRM114-Status: GOOD ( 11.36 ) X-Spam-Score: -0.7 (/) Cc: Daniel Thompson , linaro-kernel@lists.linaro.org, patches@linaro.org, linux-kernel@vger.kernel.org, John Stultz , Russell King , Thomas Gleixner , Sumit Semwal , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Russell King do_unexp_fiq() has never been called by any code in the last 10 years, it's about time it was removed! Signed-off-by: Russell King Signed-off-by: Daniel Thompson --- arch/arm/kernel/traps.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index c8e4bb7..a447dcc 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c @@ -460,12 +460,6 @@ die_sig: arm_notify_die("Oops - undefined instruction", regs, &info, 0, 6); } -asmlinkage void do_unexp_fiq (struct pt_regs *regs) -{ - printk("Hmm. Unexpected FIQ received, but trying to continue\n"); - printk("You may have a hardware problem...\n"); -} - /* * bad_mode handles the impossible case in the vectors. If you see one of * these, then it's extremely serious, and could mean you have buggy hardware.