From patchwork Fri Jan 2 20:34:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rickard Strandqvist X-Patchwork-Id: 5560801 Return-Path: X-Original-To: patchwork-linux-parisc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4DAC49F1BF for ; Fri, 2 Jan 2015 20:31:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 85CFE2021B for ; Fri, 2 Jan 2015 20:31:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A200620212 for ; Fri, 2 Jan 2015 20:31:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752121AbbABUbU (ORCPT ); Fri, 2 Jan 2015 15:31:20 -0500 Received: from mail-wg0-f52.google.com ([74.125.82.52]:47108 "EHLO mail-wg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752093AbbABUbU (ORCPT ); Fri, 2 Jan 2015 15:31:20 -0500 Received: by mail-wg0-f52.google.com with SMTP id x12so24638192wgg.39 for ; Fri, 02 Jan 2015 12:31:19 -0800 (PST) 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; bh=MRP1f39hW3AvAUnlBYgZmivyRw6dS+JDhZ1Fm/ehwwE=; b=VVtbqdyU6rDfgctZQWkpZiyOb/BM1MKhJiufa/Fvm24YegSkzaksLVokJgUI9Stl6S 2i1D+VK4X04wfsV7/u/GQzQvm5NyAg4w3lehgSpf2oxacjt8xMKHD+bO6nRvFPM8UcPw ht9KuTHE7OyCAHSzQVbSJlYKQZfzixG2dj3RtXmv0ROkkO45G/xUuvvP/mA4LgIjlkhc ZytHIWyz+lCLA+ZFpvg61we2XlerB46vPbsVW9d1FR9Yz61ipSfFwXAQlRhOseZo3AVc Xx66SpYxdsIANLXRQxlUozxcjf7LExuejUUZmvFULR/TbfAppvowDtIg8sqbFSOtA630 ah7Q== X-Gm-Message-State: ALoCoQlXmlrjaZ1vPIKuJv8sGDWWYwbEwHLX3GPI+fM645D+H1ZRt2Q+pz9XKa88jY+a7KmdTDne X-Received: by 10.180.77.79 with SMTP id q15mr1062806wiw.8.1420230678979; Fri, 02 Jan 2015 12:31:18 -0800 (PST) Received: from localhost.localdomain (h-246-111.a218.priv.bahnhof.se. [85.24.246.111]) by mx.google.com with ESMTPSA id kn7sm58835233wjc.45.2015.01.02.12.31.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Jan 2015 12:31:18 -0800 (PST) From: Rickard Strandqvist To: "James E.J. Bottomley" , Helge Deller Cc: Rickard Strandqvist , linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arch: parisc: kernel: smp: Remove unused function Date: Fri, 2 Jan 2015 21:34:21 +0100 Message-Id: <1420230861-2548-1-git-send-email-rickard_strandqvist@spectrumdigital.se> X-Mailer: git-send-email 1.7.10.4 Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Remove the function smp_send_start() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/parisc/kernel/smp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/parisc/kernel/smp.c b/arch/parisc/kernel/smp.c index ceda229..52e8597 100644 --- a/arch/parisc/kernel/smp.c +++ b/arch/parisc/kernel/smp.c @@ -230,9 +230,6 @@ send_IPI_allbutself(enum ipi_message_type op) inline void smp_send_stop(void) { send_IPI_allbutself(IPI_CPU_STOP); } -static inline void -smp_send_start(void) { send_IPI_allbutself(IPI_CPU_START); } - void smp_send_reschedule(int cpu) { send_IPI_single(cpu, IPI_RESCHEDULE); }