From patchwork Tue Sep 9 14:15:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 37110 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f197.google.com (mail-yk0-f197.google.com [209.85.160.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5D33520566 for ; Tue, 9 Sep 2014 14:15:29 +0000 (UTC) Received: by mail-yk0-f197.google.com with SMTP id 131sf8842104ykp.4 for ; Tue, 09 Sep 2014 07:15:29 -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=lX7P8nlcHVmoXJcQBg7LF4HSFm8MhwHvvCnxgWVNprztQrZ/3Av4iIuxTFIdBsFgNU 5Q6iFe0WTWQI+aYKVBFiAkVcyHxKwZnawTyLrVUOpc/qzY5L58Ka4kjh3dn5E+Ff1ubz fKZa0wb5DBglXBNDrjFTvI9zbgFHCuOPxYx3Q+lBXzbXL+NP0I25XYWpIteTiPD6y6sR DvpzUNTUPWqTY1SabVKv8mXbysFwgGgpLpsNQkopNMkPou3m6a29AS7sX58fxPGJcmEi 51ipzP2aMkoSdXHDwsWtCvOiAgIegqlsuY30LV1jD0kjx0YNMgnu7hoCiUvImNK6g/06 HzIw== X-Gm-Message-State: ALoCoQmMjyixwu9AI5uX1ffX700RcLDylA5YYu0BMuuppwo63ricUhmrQB0K0BDqzRwq2drELb90 X-Received: by 10.52.29.196 with SMTP id m4mr21856831vdh.4.1410272128476; Tue, 09 Sep 2014 07:15:28 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.89.231 with SMTP id v94ls2184612qgd.14.gmail; Tue, 09 Sep 2014 07:15:28 -0700 (PDT) X-Received: by 10.52.137.2 with SMTP id qe2mr25617400vdb.11.1410272128076; Tue, 09 Sep 2014 07:15:28 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id h6si5750315vdc.96.2014.09.09.07.15.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Sep 2014 07:15:28 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id hy4so2386626vcb.15 for ; Tue, 09 Sep 2014 07:15:28 -0700 (PDT) X-Received: by 10.221.64.205 with SMTP id xj13mr22117381vcb.18.1410272127992; Tue, 09 Sep 2014 07:15:27 -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 uj3csp290817vcb; Tue, 9 Sep 2014 07:15:27 -0700 (PDT) X-Received: by 10.194.90.4 with SMTP id bs4mr43902092wjb.71.1410272126101; Tue, 09 Sep 2014 07:15:26 -0700 (PDT) Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) by mx.google.com with ESMTPS id t3si17445251wjz.42.2014.09.09.07.15.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Sep 2014 07:15:26 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 74.125.82.51 as permitted sender) client-ip=74.125.82.51; Received: by mail-wg0-f51.google.com with SMTP id k14so2317146wgh.10 for ; Tue, 09 Sep 2014 07:15:25 -0700 (PDT) X-Received: by 10.180.93.130 with SMTP id cu2mr30844870wib.15.1410272125696; Tue, 09 Sep 2014 07:15:25 -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 k10sm15059594wjb.28.2014.09.09.07.15.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Sep 2014 07:15:24 -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 v4 1/6] ARM: remove unused do_unexp_fiq() function Date: Tue, 9 Sep 2014 15:15:06 +0100 Message-Id: <1410272111-30516-2-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1410272111-30516-1-git-send-email-daniel.thompson@linaro.org> References: <1410190115-32604-1-git-send-email-daniel.thompson@linaro.org> <1410272111-30516-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.170 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.