From patchwork Fri Dec 12 12:36:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Lambert X-Patchwork-Id: 420449 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 2A3AD14003E for ; Fri, 12 Dec 2014 23:37:17 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967800AbaLLMg5 (ORCPT ); Fri, 12 Dec 2014 07:36:57 -0500 Received: from mail-wg0-f46.google.com ([74.125.82.46]:64873 "EHLO mail-wg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967592AbaLLMg4 (ORCPT ); Fri, 12 Dec 2014 07:36:56 -0500 Received: by mail-wg0-f46.google.com with SMTP id x13so8994220wgg.5 for ; Fri, 12 Dec 2014 04:36:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=oKXix8CEqjyCPJlmg0NLSaHMDDb037F9hKrupdYOfmA=; b=L/W5t0SaVeZQH5cld9XoEoE6028f0das5djlcAFnQFaj27Q7bl/zIP5xkzcWfXXWpe joJiaVwrn73Skhvi7SE7CRHBT7Z2qARd9BVLeR+vIQlRQjfam84AMVpeYlPTXsg78bIU Q69r3RT2IB4jr7h++tPTpjx2/Mwo45gyp20JCtRdg0bcKC+0uUi2aVT5tNbzCHyoiZ/o Stgz2A6y/o9zjU6cW2PAK+lr2Krr7jqGtu+YXvKfwUGKY1CK9yogOuB02OCEUHGeXqvf e2xN2Hr4lNTKGO6+S8tA3c6+4ofaqj0Ew3SIM7TNLfCENBNGhxci4+FcxktMA8iQDzS5 iPnw== X-Received: by 10.180.211.2 with SMTP id my2mr7190546wic.3.1418387814726; Fri, 12 Dec 2014 04:36:54 -0800 (PST) Received: from sloth (hp-quentin.rsr.lip6.fr. [132.227.76.76]) by mx.google.com with ESMTPSA id bj7sm1663529wjc.33.2014.12.12.04.36.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 12 Dec 2014 04:36:53 -0800 (PST) Date: Fri, 12 Dec 2014 13:36:54 +0100 From: Quentin Lambert To: Guo-Fu Tseng Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] linux/interrupt.h: remove the definition of unused tasklet_hi_enable Message-ID: <20141212123654.GA12811@sloth> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Signed-off-by: Quentin Lambert Signed-off-by: Valentin Rothberg --- include/linux/interrupt.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index 69517a2..d9b05b5 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h @@ -556,12 +556,6 @@ static inline void tasklet_enable(struct tasklet_struct *t) atomic_dec(&t->count); } -static inline void tasklet_hi_enable(struct tasklet_struct *t) -{ - smp_mb__before_atomic(); - atomic_dec(&t->count); -} - extern void tasklet_kill(struct tasklet_struct *t); extern void tasklet_kill_immediate(struct tasklet_struct *t, unsigned int cpu); extern void tasklet_init(struct tasklet_struct *t,