Commit 1349ea08 authored by Jan Engelhardt's avatar Jan Engelhardt Committed by David S. Miller
Browse files

sparc: remove redundant return statements

parent e28cab42
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -143,6 +143,4 @@ void __init device_scan(void)


	if (ARCH_SUN4C)
	if (ARCH_SUN4C)
		sun4c_probe_memerr_reg();
		sun4c_probe_memerr_reg();

	return;
}
}
+0 −2
Original line number Original line Diff line number Diff line
@@ -585,8 +585,6 @@ pcic_fill_irq(struct linux_pcic *pcic, struct pci_dev *dev, int node)
			writew(ivec, pcic->pcic_regs+PCI_INT_SELECT_LO);
			writew(ivec, pcic->pcic_regs+PCI_INT_SELECT_LO);
		}
		}
 	}
 	}

	return;
}
}


/*
/*
+0 −2
Original line number Original line Diff line number Diff line
@@ -95,8 +95,6 @@ static void prom_sync_me(void)
			     "nop\n\t"
			     "nop\n\t"
			     "nop\n\t" : : "r" (prom_tbr));
			     "nop\n\t" : : "r" (prom_tbr));
	local_irq_restore(flags);
	local_irq_restore(flags);

	return;
}
}


static unsigned int boot_flags __initdata = 0;
static unsigned int boot_flags __initdata = 0;
+0 −2
Original line number Original line Diff line number Diff line
@@ -636,7 +636,6 @@ daex:
		return;
		return;
	}
	}
	advance(regs);
	advance(regs);
	return;
}
}


void handle_stdfmna(struct pt_regs *regs, unsigned long sfar, unsigned long sfsr)
void handle_stdfmna(struct pt_regs *regs, unsigned long sfar, unsigned long sfsr)
@@ -685,5 +684,4 @@ daex:
		return;
		return;
	}
	}
	advance(regs);
	advance(regs);
	return;
}
}
+0 −1
Original line number Original line Diff line number Diff line
@@ -94,5 +94,4 @@ void
prom_putchar(char c)
prom_putchar(char c)
{
{
	while(prom_nbputchar(c) == -1) ;
	while(prom_nbputchar(c) == -1) ;
	return;
}
}
Loading