[<prev] [next>] [day] [month] [year] [list]
Message-Id: <irq-alloc-no-longer-needs-ref@mdm.bga.com>
Date: Wed, 25 May 2011 01:34:18 -0500
From: Milton Miller <miltonm@....com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: <linux-kernel@...r.kernel.org>
Subject: [PATCH 3/4] irq: remove unnecessary __ref on irq_alloc_descs
febcb0c59a (irq: Remove unnecessary bootmem code) removed the
slab_is_available() conditonal call to alloc_bootmem* but missed
removeing the __ref annotation.
Signed-off-by: Milton Miller <miltonm@....com>
Index: work.git/kernel/irq/irqdesc.c
===================================================================
--- work.git.orig/kernel/irq/irqdesc.c 2011-05-23 14:29:22.960588100 -0500
+++ work.git/kernel/irq/irqdesc.c 2011-05-23 14:29:27.377586564 -0500
@@ -351,8 +351,7 @@ EXPORT_SYMBOL_GPL(irq_free_descs);
*
* Returns the first irq number or error code
*/
-int __ref
-irq_alloc_descs(int irq, unsigned int from, unsigned int cnt, int node)
+int irq_alloc_descs(int irq, unsigned int from, unsigned int cnt, int node)
{
int start, ret;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists