From patchwork Fri Sep 5 15:33:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 4852931 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id ACE039F2EC for ; Fri, 5 Sep 2014 15:36:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 756FF20170 for ; Fri, 5 Sep 2014 15:36:34 +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 886EA20251 for ; Fri, 5 Sep 2014 15:36:32 +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 1XPvX2-0001Am-7X; Fri, 05 Sep 2014 15:34:36 +0000 Received: from mail-we0-f179.google.com ([74.125.82.179]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XPvWZ-0000dh-7p for linux-arm-kernel@lists.infradead.org; Fri, 05 Sep 2014 15:34:07 +0000 Received: by mail-we0-f179.google.com with SMTP id t60so11846334wes.24 for ; Fri, 05 Sep 2014 08:33:40 -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=wZfKK3LIkIN3Upjw14CowKd2Jhopmx0cKjCWs6+DzeQ=; b=YOS77MoULoU1VhBtWIR6ve8GcR6riE91CcpnbqDUm+uceTc7ES5REYd4DNYBhq4EJA LC/xUWkLCK8gzzvx/UKRP5PaMu0uOrRjbABzh0ahVz0ujtNAtH3flO7Z78OlrR6YS0IL HR09NWXoASvCdGj34KcohrKnw+0gYzVq2ZzHTibF4C1DjwuUtfQu01y18bE0UPO71GVn xjdO9CrGr6wH5eMc9UM0BCQioceF8og3z4d3zaQuKdEerhaf4Yt9rBlbKjfvHqnJXKx4 biAlWX7en7PT8LJYoq8g4gJYvgu1tRa+tsfRVx+wQJkKCA8y1/u/JIRcr1g9r9cCU77l 7Wvg== X-Gm-Message-State: ALoCoQnNewPV/mJcmSzBXQJtpafYPzYn1kX8UF5KrCYlGqz9m9QGV3ImxVZVHYki31nI1B4XkWGN X-Received: by 10.194.202.231 with SMTP id kl7mr4370056wjc.134.1409931220787; Fri, 05 Sep 2014 08:33:40 -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 mz16sm2186860wic.13.2014.09.05.08.33.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Sep 2014 08:33:40 -0700 (PDT) From: Daniel Thompson To: Russell King Subject: [PATCH v2 1/5] ARM: remove unused do_unexp_fiq() function Date: Fri, 5 Sep 2014 16:33:14 +0100 Message-Id: <1409931198-22600-2-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1409931198-22600-1-git-send-email-daniel.thompson@linaro.org> References: <1409846620-14542-1-git-send-email-daniel.thompson@linaro.org> <1409931198-22600-1-git-send-email-daniel.thompson@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140905_083407_449414_02CBD8D2 X-CRM114-Status: GOOD ( 10.70 ) X-Spam-Score: -0.7 (/) Cc: 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=-3.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 --- 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.