From patchwork Wed Sep 17 16:10:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 4925281 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 EA7E0BEEA5 for ; Wed, 17 Sep 2014 16:13:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A33E92017D for ; Wed, 17 Sep 2014 16:13:10 +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 5162E2010F for ; Wed, 17 Sep 2014 16:13:09 +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 1XUHos-0004tI-FN; Wed, 17 Sep 2014 16:11:02 +0000 Received: from mail-pa0-f50.google.com ([209.85.220.50]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XUHoZ-0004W7-SF for linux-arm-kernel@lists.infradead.org; Wed, 17 Sep 2014 16:10:45 +0000 Received: by mail-pa0-f50.google.com with SMTP id eu11so1030518pac.37 for ; Wed, 17 Sep 2014 09:10:23 -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=ht42p3zNoQpeDeWXmhoQy5TFGqkXPk/EAZs437m9OdvZXzFuXwUs4KQ+t3PYcn1GuY rAJT+KL4LnOLBSrmIl8LpJHqYAWIOfeRL0dETwBKlp/5DVjnDxXsYx2e76KaH6mtvfdo uhqli85PcdeyAQKn9FpXJFbYwHBDRn/F6aLx8ei00YhKcX1pmeRaPk2ZezA+3sph8iD4 0vSa9v7YMqddTCvVV+4s3HmaELBBeM39wGLM77b8rAHvahadFP/tm+B9vuYwViJJ/plc 4W3IgLHxzVML0q4Cu47nBThmOYsnnEUnn4wbBRfwFGUL4oKF31vwy1vOMG8NcVzU6aR1 ZCkA== X-Gm-Message-State: ALoCoQlZFoVXHm8rSWzaKeL0HhIXiF24cLEmhB+xtU3oTUXQt/yygJLquTHN5iTcUU2OsJX/cZKN X-Received: by 10.70.89.226 with SMTP id br2mr21940627pdb.158.1410970223075; Wed, 17 Sep 2014 09:10:23 -0700 (PDT) Received: from harvey.bri.st.com ([38.126.120.10]) by mx.google.com with ESMTPSA id pd7sm17841758pac.33.2014.09.17.09.10.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Sep 2014 09:10:22 -0700 (PDT) From: Daniel Thompson To: Russell King Subject: [PATCH 3.17-rc4 v7 1/6] ARM: remove unused do_unexp_fiq() function Date: Wed, 17 Sep 2014 09:10:13 -0700 Message-Id: <1410970218-28847-2-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1410970218-28847-1-git-send-email-daniel.thompson@linaro.org> References: <1410970218-28847-1-git-send-email-daniel.thompson@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140917_091043_938875_B71B2249 X-CRM114-Status: GOOD ( 11.17 ) 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.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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.