From patchwork Thu Sep 11 11:31: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: 4885031 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 F1369C0338 for ; Thu, 11 Sep 2014 11:34:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CA518200EC for ; Thu, 11 Sep 2014 11:34:31 +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 21BBA20251 for ; Thu, 11 Sep 2014 11:34:27 +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 1XS2bl-00005j-5o; Thu, 11 Sep 2014 11:32:13 +0000 Received: from mail-wi0-f171.google.com ([209.85.212.171]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XS2bU-0008EZ-AV for linux-arm-kernel@lists.infradead.org; Thu, 11 Sep 2014 11:31:57 +0000 Received: by mail-wi0-f171.google.com with SMTP id bs8so736489wib.10 for ; Thu, 11 Sep 2014 04:31:31 -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=SFzEbV7Q9KP+J8ntc+38+a0tMR1fvmleTUfCg2TJGU14MO7ASgwh08xE7Fq5+f7E1b Q/L1DRTZ4pI8AL1hg1zpXOGlUOpO0kOUZdnEgUicbLj2NDu1CzNVNGh8IIkOEz58/nFU HrLt0bSUiI2y1gQE7MC5ZOZzK57YvfXalAZq2heEyWGJZHumuQVjJj9vni3jW6geAXN8 rnbcBl8zpsWEwIHvrIZ3ReLEkaZoUPQbS5JLjEUoQJ5MOO0RD8qfjh4pRBmMd8T2cdJY uKjRK1DtN9kTwKw0qIqdwcjSYrzIrLKQ4x5zXTZtk6g87WqW1SSfBYEyugXPToRIu+ex z8zg== X-Gm-Message-State: ALoCoQkMss1R/+tE3xGV+4Kn+A+OUmWb5FLU4pmWOhG9yRT9jULwNZ9EN1SrMgvJiE/fiWAFQfTp X-Received: by 10.180.20.196 with SMTP id p4mr1432151wie.56.1410435091578; Thu, 11 Sep 2014 04:31:31 -0700 (PDT) Received: from sundance.lan (cpc4-aztw19-0-0-cust157.18-1.cable.virginm.net. [82.33.25.158]) by mx.google.com with ESMTPSA id r8sm926080wjx.5.2014.09.11.04.31.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Sep 2014 04:31:30 -0700 (PDT) From: Daniel Thompson To: Russell King Subject: [PATCH 3.17-rc4 v5 1/6] ARM: remove unused do_unexp_fiq() function Date: Thu, 11 Sep 2014 12:31:13 +0100 Message-Id: <1410435078-28462-2-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1410435078-28462-1-git-send-email-daniel.thompson@linaro.org> References: <1410272111-30516-1-git-send-email-daniel.thompson@linaro.org> <1410435078-28462-1-git-send-email-daniel.thompson@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140911_043156_551150_7BB49AF0 X-CRM114-Status: GOOD ( 11.08 ) 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=-4.4 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.