From patchwork Mon Sep 8 15:28:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 37003 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f200.google.com (mail-ig0-f200.google.com [209.85.213.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4CC4020491 for ; Mon, 8 Sep 2014 15:28:58 +0000 (UTC) Received: by mail-ig0-f200.google.com with SMTP id uq10sf71618746igb.7 for ; Mon, 08 Sep 2014 08:28:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=wZfKK3LIkIN3Upjw14CowKd2Jhopmx0cKjCWs6+DzeQ=; b=LggqTuSPejGHh/vFxDrzZVtzUMOGBF3jmfbjV2rgoDeR1jeriLxCAp/VgiMvTvqRt0 gheP4XFfjslEAeNzAY4qmh7c+fQ6NR95UvMeiJfgRDZoH0+Y4wD0wxpmJBHb72oce70u TV/YTJIJzZV+5goK1hnAzYdFvJmPiTDDch6D16lmS5vpt3lry7GBEU2sTutpdUJoOkUY oHeSM7gtmlPKUie+wM/JQ3NpqHS1LXEzSQuAJeL9n+D/G2i+RQm77U8jYVs6CH7KvZyx nTNJRoadWtv2RlKCvWzt7RHPQA5AbpLYegizJAVC2gObpz3NksOavHU5zxnciGiDPetW 9wuA== X-Gm-Message-State: ALoCoQkYYcRwYAjC+cWhTHnNeTEi0oji0mWLV26SJaErPYNW55UO86o1vokRMe76yqHYHsLBlcOW X-Received: by 10.182.213.105 with SMTP id nr9mr18414997obc.36.1410190137892; Mon, 08 Sep 2014 08:28:57 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.105.247 with SMTP id c110ls1855108qgf.5.gmail; Mon, 08 Sep 2014 08:28:57 -0700 (PDT) X-Received: by 10.220.66.136 with SMTP id n8mr6882456vci.36.1410190137536; Mon, 08 Sep 2014 08:28:57 -0700 (PDT) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id qh2si4033729vcb.81.2014.09.08.08.28.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Sep 2014 08:28:57 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) client-ip=209.85.220.178; Received: by mail-vc0-f178.google.com with SMTP id hy4so968183vcb.9 for ; Mon, 08 Sep 2014 08:28:57 -0700 (PDT) X-Received: by 10.52.120.51 with SMTP id kz19mr272938vdb.95.1410190137472; Mon, 08 Sep 2014 08:28:57 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp150916vcb; Mon, 8 Sep 2014 08:28:56 -0700 (PDT) X-Received: by 10.180.86.66 with SMTP id n2mr23697158wiz.77.1410190136234; Mon, 08 Sep 2014 08:28:56 -0700 (PDT) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx.google.com with ESMTPS id o15si1603814wiw.74.2014.09.08.08.28.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Sep 2014 08:28:56 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 209.85.212.182 as permitted sender) client-ip=209.85.212.182; Received: by mail-wi0-f182.google.com with SMTP id z2so2903018wiv.3 for ; Mon, 08 Sep 2014 08:28:55 -0700 (PDT) X-Received: by 10.180.223.4 with SMTP id qq4mr23901816wic.47.1410190135831; Mon, 08 Sep 2014 08:28:55 -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 xm4sm12120613wib.9.2014.09.08.08.28.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Sep 2014 08:28:55 -0700 (PDT) From: Daniel Thompson To: Russell King Cc: Russell King , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, patches@linaro.org, linaro-kernel@lists.linaro.org, John Stultz , Thomas Gleixner , Sumit Semwal Subject: [PATCH v3 1/5] ARM: remove unused do_unexp_fiq() function Date: Mon, 8 Sep 2014 16:28:31 +0100 Message-Id: <1410190115-32604-2-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1410190115-32604-1-git-send-email-daniel.thompson@linaro.org> References: <1409931198-22600-1-git-send-email-daniel.thompson@linaro.org> <1410190115-32604-1-git-send-email-daniel.thompson@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.thompson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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.