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: 36860 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f199.google.com (mail-ob0-f199.google.com [209.85.214.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2D184206A0 for ; Fri, 5 Sep 2014 15:33:44 +0000 (UTC) Received: by mail-ob0-f199.google.com with SMTP id wn1sf60181085obc.10 for ; Fri, 05 Sep 2014 08:33:43 -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=h4ia3v7+YWZf0CCXr/VUXHu+zBUmc82PysvmBY7rPdVTMbVbktOnhbPKuaBYCuxZWo d0xXm/FkO5YeYVQJBR0vGc0/2L7ubsGtv02/65t1fNBzxf61CdQnKS0w8d6AAl6erKGd f9Tr52OKRLI4cAdrxy9wQ7fXcG5/Wf+K1vg8N2y5heiudwTp22mnFWI+hAKaSxocir6l vtZ7OY8aKCBdgeHUFiVida2MCX4hS56Sr3EGIzR9qTzytNwV44X781FGH7GFtOWe/wpK mxB1ygrS1QTBzNSYga+rFeVu5rs7d4GG1aac0m7u1uDhn5aB40U3+1ISloP8E/5Ogt0u 2Jiw== X-Gm-Message-State: ALoCoQk8SGhnCJD2qXiQZ7mgp1s5Zm+ja9Y3/AMgA/owuDdOnNnacp++3RFIjI1mn0fF9lkFVfg5 X-Received: by 10.182.18.8 with SMTP id s8mr6761073obd.21.1409931223691; Fri, 05 Sep 2014 08:33:43 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.94.231 with SMTP id g94ls613292qge.74.gmail; Fri, 05 Sep 2014 08:33:43 -0700 (PDT) X-Received: by 10.220.114.5 with SMTP id c5mr11439392vcq.28.1409931223624; Fri, 05 Sep 2014 08:33:43 -0700 (PDT) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id xe15si1570322vdc.85.2014.09.05.08.33.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 05 Sep 2014 08:33:43 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.179 as permitted sender) client-ip=209.85.220.179; Received: by mail-vc0-f179.google.com with SMTP id hy4so12306877vcb.24 for ; Fri, 05 Sep 2014 08:33:43 -0700 (PDT) X-Received: by 10.52.73.202 with SMTP id n10mr1370100vdv.86.1409931223560; Fri, 05 Sep 2014 08:33:43 -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 uj3csp100090vcb; Fri, 5 Sep 2014 08:33:43 -0700 (PDT) X-Received: by 10.180.101.65 with SMTP id fe1mr4775225wib.53.1409931222568; Fri, 05 Sep 2014 08:33:42 -0700 (PDT) Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48]) by mx.google.com with ESMTPS id q10si3039847wjz.53.2014.09.05.08.33.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 05 Sep 2014 08:33:42 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 74.125.82.48 as permitted sender) client-ip=74.125.82.48; Received: by mail-wg0-f48.google.com with SMTP id a1so1129740wgh.31 for ; Fri, 05 Sep 2014 08:33:40 -0700 (PDT) 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 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 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-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.179 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.