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: 37242 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f70.google.com (mail-pa0-f70.google.com [209.85.220.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4379820491 for ; Thu, 11 Sep 2014 11:31:34 +0000 (UTC) Received: by mail-pa0-f70.google.com with SMTP id lj1sf41196837pab.5 for ; Thu, 11 Sep 2014 04:31:33 -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=Otxci1yid8vweSbm/bdVDBBnFOvkQKbgISq7K/PwAUc=; b=hWnEhGH2DMiJJ4WqMrs4KYCu52IjrLAOjyvvvYF0SG5WjBukdtgt4jbwFS0SfGGy2o /qjLiQPelpWgdjbAL9HRpFAJoIwUUjA/psyQmddmX2VHfEIL8ngAmwtvfWPtvcDDgU0Y 3KuI+edxojMQg6PXbbCS5LnOpPx5pnOxEqgmXmTkpmVwjPj/cCeKegs8hhAVY2FtY60N M7vnqv8mmllQk/2WT48kohEdHWJjOOCEm3bhAxAO2YWCPLit943wIAPfcCg6zSnuYHGL S/LeO1F7XXjjIj5ynUN+nJ5zCSqkWSWLarobt+PNaEX/3E7lcV9r3bNiVejek9Zj4m1N br8w== X-Gm-Message-State: ALoCoQntKQ/cmyPrNOqroa4RwZ9IufusSs9H3+6hyVUsHosW6W3nH83nWKIU+ezxgV5W7ePAV71M X-Received: by 10.66.187.193 with SMTP id fu1mr105766pac.45.1410435093582; Thu, 11 Sep 2014 04:31:33 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.98.99 with SMTP id n90ls129797qge.66.gmail; Thu, 11 Sep 2014 04:31:33 -0700 (PDT) X-Received: by 10.52.5.201 with SMTP id u9mr79042vdu.85.1410435093464; Thu, 11 Sep 2014 04:31:33 -0700 (PDT) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id dx5si197646vdb.10.2014.09.11.04.31.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Sep 2014 04:31:33 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.180 as permitted sender) client-ip=209.85.220.180; Received: by mail-vc0-f180.google.com with SMTP id hq11so1856528vcb.39 for ; Thu, 11 Sep 2014 04:31:33 -0700 (PDT) X-Received: by 10.220.161.136 with SMTP id r8mr137866vcx.21.1410435093333; Thu, 11 Sep 2014 04:31:33 -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 uj3csp575697vcb; Thu, 11 Sep 2014 04:31:32 -0700 (PDT) X-Received: by 10.180.90.6 with SMTP id bs6mr6135943wib.47.1410435092226; Thu, 11 Sep 2014 04:31:32 -0700 (PDT) Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) by mx.google.com with ESMTPS id ph6si699572wjb.176.2014.09.11.04.31.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Sep 2014 04:31:32 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 74.125.82.44 as permitted sender) client-ip=74.125.82.44; Received: by mail-wg0-f44.google.com with SMTP id y10so5447243wgg.15 for ; Thu, 11 Sep 2014 04:31:31 -0700 (PDT) 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 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 , Daniel Thompson 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-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.180 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 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.