Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

percpu_ida: Removing unused arguement from alloc_local_tag

Removing unused struct percpu_ida *pool from arguements of
alloc_local_tag, changed it's one use in percpu_ida.c

(nab: Fixed reference of idr.c -> percpu_ida.c)

Signed-Off-By: Nick Swenson <nks@daterainc.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>

authored by

Nick Swenson and committed by
Nicholas Bellinger
6b378382 5f544cfa

+2 -3
+2 -3
lib/percpu_ida.c
··· 126 126 min(pool->nr_free, IDA_PCPU_BATCH_MOVE)); 127 127 } 128 128 129 - static inline unsigned alloc_local_tag(struct percpu_ida *pool, 130 - struct percpu_ida_cpu *tags) 129 + static inline unsigned alloc_local_tag(struct percpu_ida_cpu *tags) 131 130 { 132 131 int tag = -ENOSPC; 133 132 ··· 167 168 tags = this_cpu_ptr(pool->tag_cpu); 168 169 169 170 /* Fastpath */ 170 - tag = alloc_local_tag(pool, tags); 171 + tag = alloc_local_tag(tags); 171 172 if (likely(tag >= 0)) { 172 173 local_irq_restore(flags); 173 174 return tag;