mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-15 09:34:17 +00:00
ia64: Fix some warnings introduced in merge window
Fix arch/ia64/kernel/irq_ia64.c:586:1: warning: no return statement in function returning non-void [-Wreturn-type] arch/ia64/mm/contig.c:111:6: warning: unused variable 'rc' [-Wunused-variable] arch/ia64/mm/discontig.c:189:39: warning: unused variable 'rc' [-Wunused-variable] Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
4c07e2ddab
commit
722e6f500a
@ -583,6 +583,7 @@ void ia64_process_pending_intr(void)
|
||||
static irqreturn_t dummy_handler (int irq, void *dev_id)
|
||||
{
|
||||
BUG();
|
||||
return IRQ_NONE;
|
||||
}
|
||||
|
||||
static struct irqaction ipi_irqaction = {
|
||||
|
@ -108,7 +108,6 @@ setup_per_cpu_areas(void)
|
||||
struct pcpu_group_info *gi;
|
||||
unsigned int cpu;
|
||||
ssize_t static_size, reserved_size, dyn_size;
|
||||
int rc;
|
||||
|
||||
ai = pcpu_alloc_alloc_info(1, num_possible_cpus());
|
||||
if (!ai)
|
||||
|
@ -186,7 +186,7 @@ void __init setup_per_cpu_areas(void)
|
||||
unsigned long base_offset;
|
||||
unsigned int cpu;
|
||||
ssize_t static_size, reserved_size, dyn_size;
|
||||
int node, prev_node, unit, nr_units, rc;
|
||||
int node, prev_node, unit, nr_units;
|
||||
|
||||
ai = pcpu_alloc_alloc_info(MAX_NUMNODES, nr_cpu_ids);
|
||||
if (!ai)
|
||||
|
Loading…
x
Reference in New Issue
Block a user