powerpc: Remove unnecessary semicolons
Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
551a232c87
commit
d258e64ef5
|
@ -72,7 +72,7 @@ void hpte_need_flush(struct mm_struct *mm, unsigned long addr,
|
||||||
*/
|
*/
|
||||||
if (huge) {
|
if (huge) {
|
||||||
#ifdef CONFIG_HUGETLB_PAGE
|
#ifdef CONFIG_HUGETLB_PAGE
|
||||||
psize = get_slice_psize(mm, addr);;
|
psize = get_slice_psize(mm, addr);
|
||||||
#else
|
#else
|
||||||
BUG();
|
BUG();
|
||||||
psize = pte_pagesize_index(mm, addr, pte); /* shutup gcc */
|
psize = pte_pagesize_index(mm, addr, pte); /* shutup gcc */
|
||||||
|
|
|
@ -185,7 +185,7 @@ struct vma_to_fileoffset_map *create_vma_map(const struct spu *aSpu,
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
if (shdr_str.sh_type != SHT_STRTAB)
|
if (shdr_str.sh_type != SHT_STRTAB)
|
||||||
goto fail;;
|
goto fail;
|
||||||
|
|
||||||
for (j = 0; j < shdr.sh_size / sizeof (sym); j++) {
|
for (j = 0; j < shdr.sh_size / sizeof (sym); j++) {
|
||||||
if (copy_from_user(&sym, spu_elf_start +
|
if (copy_from_user(&sym, spu_elf_start +
|
||||||
|
|
|
@ -251,7 +251,7 @@ static void g5_pfunc_switch_volt(int speed_mode)
|
||||||
static struct pmf_function *pfunc_cpu_setfreq_high;
|
static struct pmf_function *pfunc_cpu_setfreq_high;
|
||||||
static struct pmf_function *pfunc_cpu_setfreq_low;
|
static struct pmf_function *pfunc_cpu_setfreq_low;
|
||||||
static struct pmf_function *pfunc_cpu_getfreq;
|
static struct pmf_function *pfunc_cpu_getfreq;
|
||||||
static struct pmf_function *pfunc_slewing_done;;
|
static struct pmf_function *pfunc_slewing_done;
|
||||||
|
|
||||||
static int g5_pfunc_switch_freq(int speed_mode)
|
static int g5_pfunc_switch_freq(int speed_mode)
|
||||||
{
|
{
|
||||||
|
|
|
@ -609,7 +609,7 @@ static int pmacpic_find_viaint(void)
|
||||||
np = of_find_node_by_name(NULL, "via-pmu");
|
np = of_find_node_by_name(NULL, "via-pmu");
|
||||||
if (np == NULL)
|
if (np == NULL)
|
||||||
goto not_found;
|
goto not_found;
|
||||||
viaint = irq_of_parse_and_map(np, 0);;
|
viaint = irq_of_parse_and_map(np, 0);
|
||||||
|
|
||||||
not_found:
|
not_found:
|
||||||
#endif /* CONFIG_ADB_PMU */
|
#endif /* CONFIG_ADB_PMU */
|
||||||
|
|
|
@ -284,7 +284,6 @@ static int ps3_sb_free_mmio_region(struct ps3_mmio_region *r)
|
||||||
int result;
|
int result;
|
||||||
|
|
||||||
dump_mmio_region(r);
|
dump_mmio_region(r);
|
||||||
;
|
|
||||||
result = lv1_unmap_device_mmio_region(r->dev->bus_id, r->dev->dev_id,
|
result = lv1_unmap_device_mmio_region(r->dev->bus_id, r->dev->dev_id,
|
||||||
r->lpar_addr);
|
r->lpar_addr);
|
||||||
|
|
||||||
|
|
|
@ -965,7 +965,7 @@ static inline void fsl_rio_info(struct device *dev, u32 ccsr)
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
str = "Unknown";
|
str = "Unknown";
|
||||||
break;;
|
break;
|
||||||
}
|
}
|
||||||
dev_info(dev, "Hardware port width: %s\n", str);
|
dev_info(dev, "Hardware port width: %s\n", str);
|
||||||
|
|
||||||
|
|
|
@ -1531,7 +1531,7 @@ static void __init ppc4xx_configure_pciex_PIMs(struct ppc4xx_pciex_port *port,
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Calculate window size */
|
/* Calculate window size */
|
||||||
sa = (0xffffffffffffffffull << ilog2(ep_size));;
|
sa = (0xffffffffffffffffull << ilog2(ep_size));
|
||||||
|
|
||||||
/* Setup BAR0 */
|
/* Setup BAR0 */
|
||||||
out_le32(mbase + PECFG_BAR0HMPA, RES_TO_U32_HIGH(sa));
|
out_le32(mbase + PECFG_BAR0HMPA, RES_TO_U32_HIGH(sa));
|
||||||
|
@ -1550,7 +1550,7 @@ static void __init ppc4xx_configure_pciex_PIMs(struct ppc4xx_pciex_port *port,
|
||||||
out_le32(mbase + PCI_BASE_ADDRESS_1, RES_TO_U32_HIGH(ep_addr));
|
out_le32(mbase + PCI_BASE_ADDRESS_1, RES_TO_U32_HIGH(ep_addr));
|
||||||
} else {
|
} else {
|
||||||
/* Calculate window size */
|
/* Calculate window size */
|
||||||
sa = (0xffffffffffffffffull << ilog2(size));;
|
sa = (0xffffffffffffffffull << ilog2(size));
|
||||||
if (res->flags & IORESOURCE_PREFETCH)
|
if (res->flags & IORESOURCE_PREFETCH)
|
||||||
sa |= 0x8;
|
sa |= 0x8;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue