Skip to contentSkip to conversation

[2.4][PATCH] cleanup double semicolons

PATCH Nuno Monteiro 1 participant 1 message May 19, 2004

Subsystems (24)
lore
Share & tools
lore
#0 lore raw

Hi,

Being in bed recovering from surgery is surely enough to drive anyone nuts so I decided to go after double semi-colons, to kill off a couple hours and try to maintain mental sanity ;-)

Since the big patch is rather, well, big -- touching 78 files -- I split it into smaller chunks, one per each directory it applies to, to make it easier to review/merge. It is against 2.4.27-pre2 but applies cleanly to -pre3, just checked and rediffed the chunks that failed.

I'm sending off a separate mail to cleanup the few remaining cases in 2.6, too.

Please review.

Nuno

arch/arm/kernel/signal.c +1 -1
diff -pruN linux-2.4.26-vanilla/arch/arm/kernel/signal.c linux-2.4.26/arch/arm/kernel/signal.c
@@ -53,7 +53,7 @@ asmlinkage int do_signal(sigset_t *oldse
 
 int copy_siginfo_to_user(siginfo_t *to, siginfo_t *from)
 {
-	int err = -EFAULT;;
+	int err = -EFAULT;
 
 	if (!access_ok (VERIFY_WRITE, to, sizeof(siginfo_t)))
 		goto out;
arch/arm/kernel/sys_arm.c +1 -1
diff -pruN linux-2.4.26-vanilla/arch/arm/kernel/sys_arm.c linux-2.4.26/arch/arm/kernel/sys_arm.c
@@ -99,7 +99,7 @@ asmlinkage int old_mmap(struct mmap_arg_
 	struct mmap_arg_struct a;
 
 	if (copy_from_user(&a, arg, sizeof(a)))
-		goto out;;
+		goto out;
 
 	error = -EINVAL;
 	if (a.offset & ~PAGE_MASK)
arch/ia64/mm/init.c +1 -1
diff -pruN linux-2.4.26-vanilla/arch/ia64/mm/init.c linux-2.4.26/arch/ia64/mm/init.c
@@ -498,7 +498,7 @@ arch_memmap_init (memmap_init_callback_t
 		efi_memmap_walk(virtual_memmap_init, &args);
 	}
 
-	return page_to_phys(end-1) + PAGE_SIZE;;
+	return page_to_phys(end-1) + PAGE_SIZE;
 }
 
 int
arch/ia64/sn/fakeprom/fw-emu.c +1 -1
diff -pruN linux-2.4.26-vanilla/arch/ia64/sn/fakeprom/fw-emu.c linux-2.4.26/arch/ia64/sn/fakeprom/fw-emu.c
@@ -397,7 +397,7 @@ efi_set_virtual_address_map(void)
         fix_virt_function_pointer((void**)&runtime->set_variable);
         fix_virt_function_pointer((void**)&runtime->get_next_high_mono_count);
         fix_virt_function_pointer((void**)&runtime->reset_system);
-        return EFI_SUCCESS;;
+        return EFI_SUCCESS;
 }
 
 void
arch/ia64/sn/io/machvec/pci_bus_cvlink.c +1 -1
diff -pruN linux-2.4.26-vanilla/arch/ia64/sn/io/machvec/pci_bus_cvlink.c linux-2.4.26/arch/ia64/sn/io/machvec/pci_bus_cvlink.c
@@ -63,7 +63,7 @@ set_isPIC(struct sn_device_sysdata *devi
 	pciio_info_t pciio_info = pciio_info_get(device_sysdata->vhdl);
 	pcibr_soft_t pcibr_soft = (pcibr_soft_t) pciio_info_mfast_get(pciio_info);
 
-	device_sysdata->isPIC = IS_PIC_SOFT(pcibr_soft);;
+	device_sysdata->isPIC = IS_PIC_SOFT(pcibr_soft);
 }
 
 /*
arch/ia64/sn/io/sn2/pcibr/pcibr_dvr.c +1 -1
diff -pruN linux-2.4.26-vanilla/arch/ia64/sn/io/sn2/pcibr/pcibr_dvr.c linux-2.4.26/arch/ia64/sn/io/sn2/pcibr/pcibr_dvr.c
@@ -1713,7 +1713,7 @@ pcibr_attach2(vertex_hdl_t xconn_vhdl, b
 
     /* Block off the range used by PROM. */
     res->start = prom_base_addr;
-    res->end = prom_base_addr + (prom_base_size - 1);;
+    res->end = prom_base_addr + (prom_base_size - 1);
     status = request_resource(&pcibr_soft->bs_mem_win_root_resource, res);
     if (status)
         panic("PCIBR:Unable to request_resource()\n");
arch/ia64/sn/io/sn2/pciio.c +1 -1
diff -pruN linux-2.4.26-vanilla/arch/ia64/sn/io/sn2/pciio.c linux-2.4.26/arch/ia64/sn/io/sn2/pciio.c
@@ -989,7 +989,7 @@ pciio_device_win_alloc(struct resource *
 		win_alloc->wa_pages = size;
 	}
 
-	return new_res->start;;
+	return new_res->start;
 }
 
 /*
arch/m68k/mvme16x/16xints.c +1 -1
diff -pruN linux-2.4.26-vanilla/arch/m68k/mvme16x/16xints.c linux-2.4.26/arch/m68k/mvme16x/16xints.c
@@ -97,7 +97,7 @@ void mvme16x_free_irq(unsigned int irq, 
 		printk("%s: Removing probably wrong IRQ %d from %s\n",
 		       __FUNCTION__, irq, irq_tab[irq-64].devname);
 
-	irq_tab[irq-64].handler = mvme16x_defhand;;
+	irq_tab[irq-64].handler = mvme16x_defhand;
 	irq_tab[irq-64].flags   = IRQ_FLG_STD;
 	irq_tab[irq-64].dev_id  = NULL;
 	irq_tab[irq-64].devname = NULL;
arch/ppc/mm/pgtable.c +1 -1
diff -pruN linux-2.4.26-vanilla/arch/ppc/mm/pgtable.c linux-2.4.26/arch/ppc/mm/pgtable.c
@@ -72,7 +72,7 @@ void setbat(int index, unsigned long vir
 void *
 ioremap(phys_addr_t addr, unsigned long size)
 {
-	phys_addr_t addr64 = fixup_bigphys_addr(addr, size);;
+	phys_addr_t addr64 = fixup_bigphys_addr(addr, size);
 
 	return ioremap64(addr64, size);
 }
arch/ppc64/kernel/idle.c +1 -1
diff -pruN linux-2.4.26-vanilla/arch/ppc64/kernel/idle.c linux-2.4.26/arch/ppc64/kernel/idle.c
@@ -157,7 +157,7 @@ int idle_default(void)
 int idle_dedicated(void)
 {
 	long oldval;
-	struct paca_struct *lpaca = get_paca(), *ppaca;;
+	struct paca_struct *lpaca = get_paca(), *ppaca;
 	unsigned long start_snooze;
 
 	ppaca = &paca[(lpaca->xPacaIndex) ^ 1];
arch/sh/mm/fault.c +1 -1
diff -pruN linux-2.4.26-vanilla/arch/sh/mm/fault.c linux-2.4.26/arch/sh/mm/fault.c
@@ -71,7 +71,7 @@ good_area:
 		if (!vma || vma->vm_start != start)
 			goto bad_area;
 		if (!(vma->vm_flags & VM_WRITE))
-			goto bad_area;;
+			goto bad_area;
 	}
 	return 1;
 
arch/sparc64/solaris/timod.c +1 -1
diff -pruN linux-2.4.26-vanilla/arch/sparc64/solaris/timod.c linux-2.4.26/arch/sparc64/solaris/timod.c
@@ -300,7 +300,7 @@ static int timod_optmgmt(unsigned int fd
 		SOLD("calling GETSOCKOPT");
 		set_fs(KERNEL_DS);
 		error = sys_socketcall(SYS_GETSOCKOPT, args);
-		set_fs(old_fs);;
+		set_fs(old_fs);
 		if (error) {
 			failed = TBADOPT;
 			break;
arch/x86_64/kernel/acpitable.h +2 -2
diff -pruN linux-2.4.26-vanilla/arch/x86_64/kernel/acpitable.h linux-2.4.26/arch/x86_64/kernel/acpitable.h
@@ -31,7 +31,7 @@ struct acpi_table_header {		/* ACPI comm
 	u32 oem_revision;		/* OEM revision number */
 	char asl_compiler_id[4];	/* ASL compiler vendor ID */
 	u32 asl_compiler_revision;	/* ASL compiler revision number */
-} __attribute__ ((packed));;
+} __attribute__ ((packed));
 
 enum {
 	ACPI_APIC = 0,
@@ -53,7 +53,7 @@ struct acpi_table_madt {
 		u32 pcat_compat:1;
 		u32 reserved:31;
 	} flags __attribute__ ((packed));
-} __attribute__ ((packed));;
+} __attribute__ ((packed));
 
 enum {
 	ACPI_MADT_LAPIC = 0,
drivers/acpi/system.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/acpi/system.c linux-2.4.26/drivers/acpi/system.c
@@ -799,7 +799,7 @@ acpi_system_read_alarm (
 	if (acpi_gbl_FADT->mon_alrm)
 		mo = CMOS_READ(acpi_gbl_FADT->mon_alrm);
 	else
-		mo = CMOS_READ(RTC_MONTH);;
+		mo = CMOS_READ(RTC_MONTH);
 	if (acpi_gbl_FADT->century)
 		yr = CMOS_READ(acpi_gbl_FADT->century) * 100 + CMOS_READ(RTC_YEAR);
 	else
drivers/block/cpqarray.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/block/cpqarray.c linux-2.4.26/drivers/block/cpqarray.c
@@ -2358,7 +2358,7 @@ static void getgeometry(int ctlr)
                 return;
         }
 
-	info_p->log_drives = id_ctlr_buf->nr_drvs;;
+	info_p->log_drives = id_ctlr_buf->nr_drvs;
 	for(i=0;i<4;i++)
 		info_p->firm_rev[i] = id_ctlr_buf->firm_rev[i];
 	info_p->ctlr_sig = id_ctlr_buf->cfg_sig;
drivers/cdrom/sbpcd.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/cdrom/sbpcd.c linux-2.4.26/drivers/cdrom/sbpcd.c
@@ -5183,7 +5183,7 @@ static int sbp_data(struct request *req)
 			for ( ; try!=0;try--)
 			{
 				j=inb(CDi_status);
-				if (!(j&s_not_data_ready)) break;;
+				if (!(j&s_not_data_ready)) break;
 				if (!(j&s_not_result_ready)) break;
 				if (fam0LV_drive) if (j&s_attention) break;
 			}
drivers/char/console.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/char/console.c linux-2.4.26/drivers/char/console.c
@@ -2260,7 +2260,7 @@ int tioclinux(struct tty_struct *tty, un
 			break;
 		case 10:
 			set_vesa_blanking(arg);
-			break;;
+			break;
 		case 11:	/* set kmsg redirect */
 			if (!capable(CAP_SYS_ADMIN)) {
 				ret = -EPERM;
drivers/char/drm/drm_fops.h +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/char/drm/drm_fops.h linux-2.4.26/drivers/char/drm/drm_fops.h
@@ -168,7 +168,7 @@ ssize_t DRM(read)(struct file *filp, cha
 	}
 
 	wake_up_interruptible(&dev->buf_writers);
-	return DRM_MIN(avail, count);;
+	return DRM_MIN(avail, count);
 }
 
 int DRM(write_string)(drm_device_t *dev, const char *s)
drivers/char/drm/drm_memory.h +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/char/drm/drm_memory.h linux-2.4.26/drivers/char/drm/drm_memory.h
@@ -393,7 +393,7 @@ int DRM(free_agp)(agp_memory *handle, in
 	if (!handle) {
 		DRM_MEM_ERROR(DRM_MEM_TOTALAGP,
 			      "Attempt to free NULL AGP handle\n");
-		return retval;;
+		return retval;
 	}
 
 	if (DRM(agp_free_memory)(handle)) {
drivers/char/drm-4.0/fops.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/char/drm-4.0/fops.c linux-2.4.26/drivers/char/drm-4.0/fops.c
@@ -187,7 +187,7 @@ ssize_t drm_read(struct file *filp, char
 	}
 	
 	wake_up_interruptible(&dev->buf_writers);
-	return DRM_MIN(avail, count);;
+	return DRM_MIN(avail, count);
 }
 
 int drm_write_string(drm_device_t *dev, const char *s)
drivers/char/drm-4.0/memory.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/char/drm-4.0/memory.c linux-2.4.26/drivers/char/drm-4.0/memory.c
@@ -375,7 +375,7 @@ int drm_free_agp(agp_memory *handle, int
 	if (!handle) {
 		DRM_MEM_ERROR(DRM_MEM_TOTALAGP,
 			      "Attempt to free NULL AGP handle\n");
-		return retval;;
+		return retval;
 	}
 	
 	if (drm_agp_free_memory(handle)) {
drivers/char/dz.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/char/dz.c linux-2.4.26/drivers/char/dz.c
@@ -421,7 +421,7 @@ static void do_softint(void *private_dat
 static void do_serial_hangup(void *private_data)
 {
 	struct dz_serial *info = (struct dz_serial *) private_data;
-	struct tty_struct *tty = info->tty;;
+	struct tty_struct *tty = info->tty;
 
 	if (!tty)
 		return;
drivers/char/ftape/compressor/lzrw3.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/char/ftape/compressor/lzrw3.c linux-2.4.26/drivers/char/ftape/compressor/lzrw3.c
@@ -701,7 +701,7 @@ ULONG *p_dst_len;
           /* been postponed for lack of bytes.                                */
           if (literals>0)
             {
-             register UBYTE *r=p_ziv-literals;;
+             register UBYTE *r=p_ziv-literals;
              hash[HASH(r)]=r;
              if (literals==2)
                 {r++; hash[HASH(r)]=r;}
drivers/char/joystick/gf2k.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/char/joystick/gf2k.c linux-2.4.26/drivers/char/joystick/gf2k.c
@@ -107,7 +107,7 @@ static int gf2k_read_packet(struct gamep
 	__cli();
 
 	gameport_trigger(gameport);
-	v = gameport_read(gameport);;
+	v = gameport_read(gameport);
 
 	while (t > 0 && i < length) {
 		t--; u = v;
drivers/char/mwave/smapi.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/char/mwave/smapi.c linux-2.4.26/drivers/char/mwave/smapi.c
@@ -448,7 +448,7 @@ int smapi_set_DSP_cfg(void)
 	if (bRC) goto exit_smapi_request_error;
 
 	if (mwave_3780i_io) {
-		usDI = dspio_index;;
+		usDI = dspio_index;
 	}
 	if (mwave_3780i_irq) {
 		usSI = (usSI & 0xff00) | mwave_3780i_irq;
drivers/char/qtronix.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/char/qtronix.c linux-2.4.26/drivers/char/qtronix.c
@@ -206,7 +206,7 @@ static void kbd_int_handler(int irq, voi
 	unsigned char int_status;
 
 	cir = (struct cir_port *)dev_id;
-	int_status = get_int_status(cir);;
+	int_status = get_int_status(cir);
 	if (int_status & 0x4) {
 		clear_fifo(cir);
 		return;
fs/intermezzo/journal_xfs.c +1 -1
diff -pruN linux-2.4.26-vanilla/fs/intermezzo/journal_xfs.c linux-2.4.26/fs/intermezzo/journal_xfs.c
@@ -58,7 +58,7 @@ static unsigned long presto_xfs_freespac
         VFS_STATVFS(vfsp, &stat, NULL, rc);
         avail = statp.f_bfree;
 
-        return sbp->sb_fdblocks;; 
+        return sbp->sb_fdblocks;
 #endif
         return 0x0fffffff;
 }
fs/partitions/ldm.c +1 -1
diff -pruN linux-2.4.26-vanilla/fs/partitions/ldm.c linux-2.4.26/fs/partitions/ldm.c
@@ -634,7 +634,7 @@ static BOOL ldm_create_partition (struct
 {
 	int disk_minor;
 
-	BUG_ON (!hd);;
+	BUG_ON (!hd);
 	BUG_ON (!hd->part);
 
 	/* Get the minor number of the parent device
drivers/hotplug/cpqphp_core.c +3 -3
diff -pruN linux-2.4.26-vanilla/drivers/hotplug/cpqphp_core.c linux-2.4.26/drivers/hotplug/cpqphp_core.c
@@ -1316,7 +1316,7 @@ static int one_time_init(void)
 	cpqhp_rom_start = ioremap(ROM_PHY_ADDR, ROM_PHY_LEN);
 	if (!cpqhp_rom_start) {
 		err ("Could not ioremap memory region for ROM\n");
-		retval = -EIO;;
+		retval = -EIO;
 		goto error;
 	}
 	
@@ -1327,14 +1327,14 @@ static int one_time_init(void)
 	smbios_table = detect_SMBIOS_pointer(cpqhp_rom_start, cpqhp_rom_start + ROM_PHY_LEN);
 	if (!smbios_table) {
 		err ("Could not find the SMBIOS pointer in memory\n");
-		retval = -EIO;;
+		retval = -EIO;
 		goto error;
 	}
 
 	smbios_start = ioremap(readl(smbios_table + ST_ADDRESS), readw(smbios_table + ST_LENGTH));
 	if (!smbios_start) {
 		err ("Could not ioremap memory region taken from SMBIOS values\n");
-		retval = -EIO;;
+		retval = -EIO;
 		goto error;
 	}
 
drivers/ide/pci/trm290.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/ide/pci/trm290.c linux-2.4.26/drivers/ide/pci/trm290.c
@@ -280,7 +280,7 @@ static int trm290_ide_dma_begin (ide_dri
 static int trm290_ide_dma_end (ide_drive_t *drive)
 {
 	ide_hwif_t *hwif = HWIF(drive);
-	u16 status = 0;;
+	u16 status = 0;
 
 	drive->waiting_for_dma = 0;
 	/* purge DMA mappings */
drivers/ide/raid/hptraid.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/ide/raid/hptraid.c linux-2.4.26/drivers/ide/raid/hptraid.c
@@ -304,7 +304,7 @@ static int hptraid0_compute_request (str
 		return -1;
 	}
 			
-	rsect_left = bh->b_rsector;;
+	rsect_left = bh->b_rsector;
 	
 	for (i=0;i<8;i++) {
 		if (thisraid->cutoff_disks[i]==0)
drivers/isdn/hisax/hisax_fcpcipnp.c +3 -3
diff -pruN linux-2.4.26-vanilla/drivers/isdn/hisax/hisax_fcpcipnp.c linux-2.4.26/drivers/isdn/hisax/hisax_fcpcipnp.c
@@ -738,7 +738,7 @@ static int __devinit fcpcipnp_setup(stru
 	adapter->isac.priv = adapter;
 	switch (adapter->type) {
 	case AVM_FRITZ_PCIV2:
-		adapter->isac.read_isac       = &fcpci2_read_isac;;
+		adapter->isac.read_isac       = &fcpci2_read_isac;
 		adapter->isac.write_isac      = &fcpci2_write_isac;
 		adapter->isac.read_isac_fifo  = &fcpci2_read_isac_fifo;
 		adapter->isac.write_isac_fifo = &fcpci2_write_isac_fifo;
@@ -747,7 +747,7 @@ static int __devinit fcpcipnp_setup(stru
 		adapter->write_ctrl           = &fcpci2_write_ctrl;
 		break;
 	case AVM_FRITZ_PCI:
-		adapter->isac.read_isac       = &fcpci_read_isac;;
+		adapter->isac.read_isac       = &fcpci_read_isac;
 		adapter->isac.write_isac      = &fcpci_write_isac;
 		adapter->isac.read_isac_fifo  = &fcpci_read_isac_fifo;
 		adapter->isac.write_isac_fifo = &fcpci_write_isac_fifo;
@@ -756,7 +756,7 @@ static int __devinit fcpcipnp_setup(stru
 		adapter->write_ctrl           = &fcpci_write_ctrl;
 		break;
 	case AVM_FRITZ_PNP:
-		adapter->isac.read_isac       = &fcpci_read_isac;;
+		adapter->isac.read_isac       = &fcpci_read_isac;
 		adapter->isac.write_isac      = &fcpci_write_isac;
 		adapter->isac.read_isac_fifo  = &fcpci_read_isac_fifo;
 		adapter->isac.write_isac_fifo = &fcpci_write_isac_fifo;
drivers/md/raid1.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/md/raid1.c linux-2.4.26/drivers/md/raid1.c
@@ -860,7 +860,7 @@ static void close_sync(raid1_conf_t *con
 	wait_event_lock_irq(conf->wait_ready, !conf->cnt_pending, conf->segment_lock);
 	conf->start_active = conf->start_ready = conf->start_pending = conf->start_future = 0;
 	conf->phase = 0;
-	conf->cnt_future = conf->cnt_done;;
+	conf->cnt_future = conf->cnt_done;
 	conf->cnt_done = 0;
 	spin_unlock_irq(&conf->segment_lock);
 	wake_up(&conf->wait_done);
drivers/mtd/nand/nand.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/mtd/nand/nand.c linux-2.4.26/drivers/mtd/nand/nand.c
@@ -1197,7 +1197,7 @@ erase_exit:
 	nand_deselect ();
 	spin_unlock_bh (&this->chip_lock);
 
-	ret = instr->state == MTD_ERASE_DONE ? 0 : -EIO;;
+	ret = instr->state == MTD_ERASE_DONE ? 0 : -EIO;
 	/* Do call back function */
 	if (!ret && instr->callback)
 		instr->callback (instr);
drivers/net/acenic.h +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/net/acenic.h linux-2.4.26/drivers/net/acenic.h
@@ -696,7 +696,7 @@ struct ace_private
 	char			name[48];
 #ifdef INDEX_DEBUG
 	spinlock_t		debug_lock
-				__attribute__ ((aligned (SMP_CACHE_BYTES)));;
+				__attribute__ ((aligned (SMP_CACHE_BYTES)));
 	u32			last_tx, last_std_rx, last_mini_rx;
 #endif
 	struct net_device_stats stats;
drivers/net/aironet4500_proc.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/net/aironet4500_proc.c linux-2.4.26/drivers/net/aironet4500_proc.c
@@ -168,7 +168,7 @@ int awc_proc_format_array(int write,char
      			for (k=0; k < bytes; k++){
      				data[i*bytes +k] = *(buff + i*bytes +k);
      				if (i*bytes +k > *len || !data[i*bytes +k])
-     					null_past = 1;;
+     					null_past = 1;
      			}
      	
      		}
drivers/net/arlan.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/net/arlan.c linux-2.4.26/drivers/net/arlan.c
@@ -1481,7 +1481,7 @@ static void arlan_tx_done_interrupt(stru
 			priv->retransmissions = 0;
 			if (priv->Conf->tx_delay_ms)
 			{
-				priv->tx_done_delayed = jiffies + (priv->Conf->tx_delay_ms * HZ) / 1000 + 1;;
+				priv->tx_done_delayed = jiffies + (priv->Conf->tx_delay_ms * HZ) / 1000 + 1;
 			}
 			else
 			{
drivers/net/sk98lin/skgepnmi.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/net/sk98lin/skgepnmi.c linux-2.4.26/drivers/net/sk98lin/skgepnmi.c
@@ -7681,7 +7681,7 @@ SK_U32 NetIndex)	/* NetIndex (0..n), in 
 			 to the low-power state.
 			 A miniport driver must always return NDIS_STATUS_SUCCESS
 			 to a query of OID_PNP_QUERY_POWER. */
-			*pLen = sizeof(SK_DEVICE_POWER_STATE);;
+			*pLen = sizeof(SK_DEVICE_POWER_STATE);
             RetCode = SK_PNMI_ERR_OK;
 			break;
 
drivers/net/typhoon.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/net/typhoon.c linux-2.4.26/drivers/net/typhoon.c
@@ -1318,7 +1318,7 @@ typhoon_init_interface(struct typhoon *t
 	tp->rxHiRing.ringBase = (u8 *) tp->shared->rxHi;
 	tp->rxBuffRing.ringBase = (u8 *) tp->shared->rxBuff;
 	tp->cmdRing.ringBase = (u8 *) tp->shared->cmd;
-	tp->respRing.ringBase = (u8 *) tp->shared->resp;;
+	tp->respRing.ringBase = (u8 *) tp->shared->resp;
 
 	tp->txLoRing.writeRegister = TYPHOON_REG_TX_LO_READY;
 	tp->txHiRing.writeRegister = TYPHOON_REG_TX_HI_READY;
drivers/net/wan/8253x/8253xchr.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/net/wan/8253x/8253xchr.c linux-2.4.26/drivers/net/wan/8253x/8253xchr.c
@@ -520,7 +520,7 @@ static int sab8253x_block_til_readyC(str
 			 *  port->regs->rw.mode &= ~(SAB82532_MODE_RTS);
 			 */
 		}
-		restore_flags(flags);;
+		restore_flags(flags);
 		current->state = TASK_INTERRUPTIBLE;
 		if (!(port->flags & FLAG8253X_INITIALIZED)) 
 		{
drivers/net/wireless/atmel.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/net/wireless/atmel.c linux-2.4.26/drivers/net/wireless/atmel.c
@@ -519,7 +519,7 @@ struct atmel_private {
 	int channel;
 	int reg_domain;
 	int tx_rate;
-	int auto_tx_rate;;
+	int auto_tx_rate;
 	int rts_threshold;
 	int frag_threshold;
 	int long_retry, short_retry;
drivers/net/wireless/hermes.h +3 -3
diff -pruN linux-2.4.26-vanilla/drivers/net/wireless/hermes.h linux-2.4.26/drivers/net/wireless/hermes.h
@@ -362,7 +362,7 @@ static inline int hermes_inquire(hermes_
 /* Note that for the next two, the count is in 16-bit words, not bytes */
 static inline void hermes_read_words(struct hermes *hw, int off, void *buf, unsigned count)
 {
-	off = off << hw->reg_spacing;;
+	off = off << hw->reg_spacing;
 
 	if (hw->io_space) {
 		insw(hw->iobase + off, buf, count);
@@ -382,7 +382,7 @@ static inline void hermes_read_words(str
 
 static inline void hermes_write_words(struct hermes *hw, int off, const void *buf, unsigned count)
 {
-	off = off << hw->reg_spacing;;
+	off = off << hw->reg_spacing;
 
 	if (hw->io_space) {
 		outsw(hw->iobase + off, buf, count);
@@ -404,7 +404,7 @@ static inline void hermes_clear_words(st
 {
 	unsigned i;
 
-	off = off << hw->reg_spacing;;
+	off = off << hw->reg_spacing;
 
 	if (hw->io_space) {
 		for (i = 0; i < count; i++)
drivers/s390/block/dasd.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/s390/block/dasd.c linux-2.4.26/drivers/s390/block/dasd.c
@@ -3360,7 +3360,7 @@ dasd_fillgeo(int kdev,struct hd_geometry
 
 	device->discipline->fill_geometry (device, geo);
 	geo->start = device->major_info->gendisk.part[MINOR(kdev)].start_sect 
-		     >> device->sizes.s2b_shift;;
+		     >> device->sizes.s2b_shift;
         return 0;
 } 
 
drivers/scsi/aic7xxx/aic7770.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/scsi/aic7xxx/aic7770.c linux-2.4.26/drivers/scsi/aic7xxx/aic7770.c
@@ -64,7 +64,7 @@ static int aic7770_suspend(struct ahc_so
 static int aic7770_resume(struct ahc_softc *ahc);
 static int aha2840_load_seeprom(struct ahc_softc *ahc);
 static ahc_device_setup_t ahc_aic7770_VL_setup;
-static ahc_device_setup_t ahc_aic7770_EISA_setup;;
+static ahc_device_setup_t ahc_aic7770_EISA_setup;
 static ahc_device_setup_t ahc_aic7770_setup;
 
 struct aic7770_identity aic7770_ident_table[] =
drivers/scsi/cpqfcTSinit.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/scsi/cpqfcTSinit.c linux-2.4.26/drivers/scsi/cpqfcTSinit.c
@@ -158,7 +158,7 @@ static void Cpqfc_initHBAdata(CPQFCHBA *
 	cpqfcHBAdata->fcChip.InitializeTachyon = CpqTsInitializeTachLite;
 	cpqfcHBAdata->fcChip.LaserControl = CpqTsLaserControl;
 	cpqfcHBAdata->fcChip.ProcessIMQEntry = CpqTsProcessIMQEntry;
-	cpqfcHBAdata->fcChip.InitializeFrameManager = CpqTsInitializeFrameManager;;
+	cpqfcHBAdata->fcChip.InitializeFrameManager = CpqTsInitializeFrameManager;
 	cpqfcHBAdata->fcChip.ReadWriteWWN = CpqTsReadWriteWWN;
 	cpqfcHBAdata->fcChip.ReadWriteNVRAM = CpqTsReadWriteNVRAM;
 
drivers/scsi/dec_esp.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/scsi/dec_esp.c linux-2.4.26/drivers/scsi/dec_esp.c
@@ -339,7 +339,7 @@ static void dma_drain(struct NCR_ESP *es
 
 static int dma_can_transfer(struct NCR_ESP *esp, Scsi_Cmnd * sp)
 {
-	return sp->SCp.this_residual;;
+	return sp->SCp.this_residual;
 }
 
 static void dma_dump_state(struct NCR_ESP *esp)
drivers/scsi/dpt_i2o.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/scsi/dpt_i2o.c linux-2.4.26/drivers/scsi/dpt_i2o.c
@@ -2197,7 +2197,7 @@ static s32 adpt_scsi_register(adpt_hba* 
 	(adpt_hba*)(host->hostdata[0]) = pHba;
 	pHba->host = host;
 
-	host->irq = pHba->pDev->irq;;
+	host->irq = pHba->pDev->irq;
 	/* no IO ports, so don't have to set host->io_port and 
 	 * host->n_io_port
 	 */
drivers/scsi/gdth.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/scsi/gdth.c linux-2.4.26/drivers/scsi/gdth.c
@@ -1298,7 +1298,7 @@ GDTH_INITFUNC(static int, gdth_init_pci(
         
         /* disable board interrupts, deinit services */
         gdth_writeb(0xff, &dp6_ptr->io.irqdel);
-        gdth_writeb(0x00, &dp6_ptr->io.irqen);;
+        gdth_writeb(0x00, &dp6_ptr->io.irqen);
         gdth_writeb(0x00, &dp6_ptr->u.ic.S_Status);
         gdth_writeb(0x00, &dp6_ptr->u.ic.Cmd_Index);
 
drivers/scsi/i91uscsi.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/scsi/i91uscsi.c linux-2.4.26/drivers/scsi/i91uscsi.c
@@ -2269,7 +2269,7 @@ int int_tul_bad_seq(HCS * pCurHcb)
 		tul_append_done_scb(pCurHcb, pCurScb);
 	}
 	for (i = 0; i < pCurHcb->HCS_MaxTar; i++) {
-		pCurHcb->HCS_Tcs[i].TCS_Flags &= ~(TCF_SYNC_DONE | TCF_WDTR_DONE);;
+		pCurHcb->HCS_Tcs[i].TCS_Flags &= ~(TCF_SYNC_DONE | TCF_WDTR_DONE);
 	}
 	return (-1);
 }
drivers/scsi/in2000.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/scsi/in2000.c linux-2.4.26/drivers/scsi/in2000.c
@@ -2347,7 +2347,7 @@ static int stop = 0;
       return 0;         /* return 0 to signal end-of-file */
       }
    if (off > 0x40000)   /* ALWAYS stop after 256k bytes have been read */
-      stop = 1;;
+      stop = 1;
    if (hd->proc & PR_STOP)    /* stop every other time */
       stop = 1;
    return strlen(bp);
drivers/scsi/megaraid.c +2 -2
diff -pruN linux-2.4.26-vanilla/drivers/scsi/megaraid.c linux-2.4.26/drivers/scsi/megaraid.c
@@ -3782,7 +3782,7 @@ static void mega_swap_hosts (struct Scsi
 {
 	struct Scsi_Host *prevtoshtwo;
 	struct Scsi_Host *prevtoshone;
-	struct Scsi_Host *save = NULL;;
+	struct Scsi_Host *save = NULL;
 
 	/* Are these two nodes adjacent */
 	if (shtwo->next == shone) {
@@ -3864,7 +3864,7 @@ static void mega_swap_hosts (struct Scsi
 	} else {
 		prevtoshtwo = scsi_hostlist;
 		prevtoshone = scsi_hostlist;
-		save = NULL;;
+		save = NULL;
 
 		while (prevtoshtwo->next != shtwo)
 			prevtoshtwo = prevtoshtwo->next;
drivers/scsi/pci2000.c +6 -6
diff -pruN linux-2.4.26-vanilla/drivers/scsi/pci2000.c linux-2.4.26/drivers/scsi/pci2000.c
@@ -322,7 +322,7 @@ static void Irq_Handler (int irq, void *
 
 	outb_p (0xFF, padapter->tag);												// clear the op interrupt
 	outb_p (CMD_DONE, padapter->cmd);											// complete the op
-	goto irq_return;;															// done, but, with what?
+	goto irq_return;			// done, but, with what?
 
 unmapProceed:;
 	if ( !bus )
@@ -355,7 +355,7 @@ irqProceed:;
 		if ( WaitReady (padapter) )
 			{
 			OpDone (SCpnt, DID_TIME_OUT << 16);
-			goto irq_return;;
+			goto irq_return;
 			}
 
 		outb_p (tag0, padapter->mb0);										// get real error code
@@ -363,7 +363,7 @@ irqProceed:;
 		if ( WaitReady (padapter) )											// wait for controller to suck up the op
 			{
 			OpDone (SCpnt, DID_TIME_OUT << 16);
-			goto irq_return;;
+			goto irq_return;
 			}
 
 		error = inl (padapter->mb0);										// get error data
@@ -376,16 +376,16 @@ irqProceed:;
 			if ( bus )														// are we doint SCSI commands?
 				{
 				OpDone (SCpnt, (DID_OK << 16) | 2);
-				goto irq_return;;
+				goto irq_return;
 				}
 			if ( *SCpnt->cmnd == SCSIOP_TEST_UNIT_READY )
 				OpDone (SCpnt, (DRIVER_SENSE << 24) | (DID_OK << 16) | 2);	// test caller we have sense data too
 			else
 				OpDone (SCpnt, DID_ERROR << 16);
-			goto irq_return;;
+			goto irq_return;
 			}
 		OpDone (SCpnt, DID_ERROR << 16);
-		goto irq_return;;
+		goto irq_return;
 		}
 
 	outb_p (0xFF, padapter->tag);											// clear the op interrupt
drivers/scsi/pci2220i.c +3 -3
diff -pruN linux-2.4.26-vanilla/drivers/scsi/pci2220i.c linux-2.4.26/drivers/scsi/pci2220i.c
@@ -1384,7 +1384,7 @@ static void ReconTimerExpiry (unsigned l
 			 (pdev->DiskMirror[0].pairIdentifier == (pdev->DiskMirror[1].pairIdentifier ^ 1)) )
 			{
 			if ( (pdev->DiskMirror[0].status & UCBF_MATCHED) && (pdev->DiskMirror[1].status & UCBF_MATCHED) )
-				break;;
+				break;
 
 			if ( pdev->DiskMirror[0].status & UCBF_SURVIVOR )				// is first drive survivor?
 				testsize = SetReconstruct (pdev, 0);
@@ -2641,7 +2641,7 @@ int Pci2220i_Detect (Scsi_Host_Template 
 	
 		if ( ++Installed < MAXADAPTER )
 			continue;
-		break;;
+		break;
 unregister:;
 		scsi_unregister (pshost);
 		}
@@ -2775,7 +2775,7 @@ unregister:;
 		
 		if ( ++Installed < MAXADAPTER )
 			continue;
-		break;;
+		break;
 unregister1:;
 		scsi_unregister (pshost);
 		}
drivers/scsi/qlogicfc.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/scsi/qlogicfc.c linux-2.4.26/drivers/scsi/qlogicfc.c
@@ -1783,7 +1783,7 @@ int isp2x00_reset(Scsi_Cmnd * Cmnd, unsi
 
 	LEAVE("isp2x00_reset");
 
-	return return_status;;
+	return return_status;
 }
 
 
drivers/scsi/qlogicisp.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/scsi/qlogicisp.c linux-2.4.26/drivers/scsi/qlogicisp.c
@@ -1235,7 +1235,7 @@ int isp1020_reset(Scsi_Cmnd *Cmnd, unsig
 
 	LEAVE("isp1020_reset");
 
-	return return_status;;
+	return return_status;
 }
 
 
drivers/scsi/scsiiom.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/scsi/scsiiom.c linux-2.4.26/drivers/scsi/scsiiom.c
@@ -1682,7 +1682,7 @@ dc390_DoingSRB_Done( PACB pACB, PSCSICMD
 #endif	
 	    psrb  = psrb2;
 	}
-	pdcb->GoingSRBCnt = 0;;
+	pdcb->GoingSRBCnt = 0;
 	pdcb->pGoingSRB = NULL;
 	pdcb->TagMask = 0;
 	pdcb = pdcb->pNextDCB;
drivers/scsi/wd33c93.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/scsi/wd33c93.c linux-2.4.26/drivers/scsi/wd33c93.c
@@ -2033,7 +2033,7 @@ static int stop = 0;
       return 0;
       }
    if (off > 0x40000)   /* ALWAYS stop after 256k bytes have been read */
-      stop = 1;;
+      stop = 1;
    if (hd->proc & PR_STOP)    /* stop every other time */
       stop = 1;
    return strlen(bp);
drivers/sound/cs46xx.c +2 -2
diff -pruN linux-2.4.26-vanilla/drivers/sound/cs46xx.c linux-2.4.26/drivers/sound/cs46xx.c
@@ -3251,7 +3251,7 @@ static int cs_open(struct inode *inode, 
 			
 		if (dmabuf->channel == NULL) {
 			kfree (card->states[0]);
-			card->states[0] = NULL;;
+			card->states[0] = NULL;
 			return -ENODEV;
 		}
 
@@ -3322,7 +3322,7 @@ static int cs_open(struct inode *inode, 
 			
 		if (dmabuf->channel == NULL) {
 			kfree (card->states[1]);
-			card->states[1] = NULL;;
+			card->states[1] = NULL;
 			return -ENODEV;
 		}
 
drivers/sound/nec_vrc5477.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/sound/nec_vrc5477.c linux-2.4.26/drivers/sound/nec_vrc5477.c
@@ -295,7 +295,7 @@ static u16 rdcodec(struct ac97_codec *co
 
 	spin_unlock_irqrestore(&s->lock, flags);
 
-	return result & 0xffff;;
+	return result & 0xffff;
 }
 
 
drivers/sound/rme96xx.c +2 -2
diff -pruN linux-2.4.26-vanilla/drivers/sound/rme96xx.c linux-2.4.26/drivers/sound/rme96xx.c
@@ -1337,7 +1337,7 @@ static int rme96xx_ioctl(struct inode *i
 			return -EINVAL;
 		val = rme96xx_gethwptr(dma->s,0);
 		spin_lock_irqsave(&s->lock,flags);
-                cinfo.bytes = s->fragsize<<1;;
+                cinfo.bytes = s->fragsize<<1;
 		count = val - dma->readptr;
 		if (count < 0)
 			count += s->fragsize<<1;
@@ -1355,7 +1355,7 @@ static int rme96xx_ioctl(struct inode *i
 			return -EINVAL;
 		val = rme96xx_gethwptr(dma->s,0);
 		spin_lock_irqsave(&s->lock,flags);
-                cinfo.bytes = s->fragsize<<1;;
+                cinfo.bytes = s->fragsize<<1;
 		count = val - dma->writeptr;
 		if (count < 0)
 			count += s->fragsize<<1;
drivers/sound/soundcard.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/sound/soundcard.c linux-2.4.26/drivers/sound/soundcard.c
@@ -739,7 +739,7 @@ void request_sound_timer(int count)
 
 void sound_stop_timer(void)
 {
-	del_timer(&seq_timer);;
+	del_timer(&seq_timer);
 }
 
 void conf_printf(char *name, struct address_info *hw_config)
drivers/sound/sys_timer.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/sound/sys_timer.c linux-2.4.26/drivers/sound/sys_timer.c
@@ -115,7 +115,7 @@ static void
 def_tmr_close(int dev)
 {
 	opened = tmr_running = 0;
-	del_timer(&def_tmr);;
+	del_timer(&def_tmr);
 }
 
 static int
drivers/usb/brlvger.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/usb/brlvger.c linux-2.4.26/drivers/usb/brlvger.c
@@ -597,7 +597,7 @@ brlvger_write(struct file *file, const c
 	off = *pos;
 
 	if(off > priv->plength)
-		return -ESPIPE;;
+		return -ESPIPE;
 
 	rs = priv->plength - off;
 
drivers/usb/se401.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/usb/se401.c linux-2.4.26/drivers/usb/se401.c
@@ -478,7 +478,7 @@ static void se401_video_irq(struct urb *
 				se401->scratch_overflow=0;
 				se401->scratch_next++;
 				if (se401->scratch_next>=SE401_NUMSCRATCH)
-					se401->scratch_next=0;;
+					se401->scratch_next=0;
 				break;
 			}
 		}
drivers/usb/serial/empeg.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/usb/serial/empeg.c linux-2.4.26/drivers/usb/serial/empeg.c
@@ -147,7 +147,7 @@ static int		bytes_out;
 static int empeg_open (struct usb_serial_port *port, struct file *filp)
 {
 	struct usb_serial *serial = port->serial;
-	int result = 0;;
+	int result = 0;
 
 	if (port_paranoia_check (port, __FUNCTION__))
 		return -ENODEV;
drivers/usb/serial/mct_u232.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/usb/serial/mct_u232.c linux-2.4.26/drivers/usb/serial/mct_u232.c
@@ -455,7 +455,7 @@ static int mct_u232_write (struct usb_se
 
 	/* only do something if we have a bulk out endpoint */
 	if (!serial->num_bulk_out)
-		return(0);;
+		return(0);
 	
 	/* another write is still pending? */
 	if (port->write_urb->status == -EINPROGRESS) {
drivers/usb/stv680.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/usb/stv680.c linux-2.4.26/drivers/usb/stv680.c
@@ -699,7 +699,7 @@ static void stv680_video_irq (struct urb
 			stv680->scratch_overflow = 0;
 			stv680->scratch_next++;
 			if (stv680->scratch_next >= STV680_NUMSCRATCH)
-				stv680->scratch_next = 0;;
+				stv680->scratch_next = 0;
 			break;
 		}		/* switch  */
 	} else {
drivers/video/fbcon-cfb16.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/video/fbcon-cfb16.c linux-2.4.26/drivers/video/fbcon-cfb16.c
@@ -200,7 +200,7 @@ void fbcon_cfb16_putcs(struct vc_data *c
 		    fb_writel((tab_cfb16[bits & 3] & eorx) ^ bgx, dest+12);
 		}
 	    }
-	    dest0 += fontwidth(p)*2;;
+	    dest0 += fontwidth(p)*2;
 	}
 	break;
     case 12:
drivers/video/sis/init301.c +1 -1
diff -pruN linux-2.4.26-vanilla/drivers/video/sis/init301.c linux-2.4.26/drivers/video/sis/init301.c
@@ -2368,7 +2368,7 @@ SiS_SetCRT2ModeRegs(SiS_Private *SiS_Pr,
 
 #ifdef SIS315H
 
-        unsigned char bridgerev = SiS_GetReg(SiS_Pr->SiS_Part4Port,0x01);;
+        unsigned char bridgerev = SiS_GetReg(SiS_Pr->SiS_Part4Port,0x01);
 
 	/* The following is nearly unpreditable and varies from machine
 	 * to machine. Especially the 301DH seems to be a real trouble
kernel/exec_domain.c +2 -2
diff -pruN linux-2.4.26-vanilla/kernel/exec_domain.c linux-2.4.26/kernel/exec_domain.c
@@ -173,7 +173,7 @@ __set_personality(u_long personality)
 		fsp = copy_fs_struct(current->fs);
 		if (fsp == NULL) {
 			put_exec_domain(ep);
-			return -ENOMEM;;
+			return -ENOMEM;
 		}
 
 		task_lock(current);
@@ -217,7 +217,7 @@ get_exec_domain_list(char *page)
 asmlinkage long
 sys_personality(u_long personality)
 {
-	u_long old = current->personality;;
+	u_long old = current->personality;
 
 	if (personality != 0xffffffff) {
 		set_personality(personality);
net/irda/irlan/irlan_filter.c +1 -1
diff -pruN linux-2.4.26-vanilla/net/irda/irlan/irlan_filter.c linux-2.4.26/net/irda/irlan/irlan_filter.c
@@ -52,7 +52,7 @@ void handle_filter_request(struct irlan_
 			self->provider.mac_address[4] = 
 				self->provider.send_arb_val & 0xff;
 			self->provider.mac_address[5] = 
-				(self->provider.send_arb_val >> 8) & 0xff;;
+				(self->provider.send_arb_val >> 8) & 0xff;
 		} else {
 			/* Just generate something for now */
 			get_random_bytes(self->provider.mac_address+4, 1);
net/irda/irttp.c +1 -1
diff -pruN linux-2.4.26-vanilla/net/irda/irttp.c linux-2.4.26/net/irda/irttp.c
@@ -1224,7 +1224,7 @@ void irttp_connect_indication(void *inst
 
 	lsap = (struct lsap_cb *) sap;
 
-	self->max_seg_size = max_seg_size - TTP_HEADER;;
+	self->max_seg_size = max_seg_size - TTP_HEADER;
 	self->max_header_size = max_header_size+TTP_HEADER;
 
 	IRDA_DEBUG(4, "%s(), TSAP sel=%02x\n", __FUNCTION__, self->stsap_sel);
net/ipv4/netfilter/ip_nat_snmp_basic.c +2 -2
diff -pruN linux-2.4.26-vanilla/net/ipv4/netfilter/ip_nat_snmp_basic.c linux-2.4.26/net/ipv4/netfilter/ip_nat_snmp_basic.c
@@ -899,10 +899,10 @@ static unsigned char snmp_trap_decode(st
 		goto err_addr_free;
 		
 	if (cls != ASN1_UNI || con != ASN1_PRI || tag != ASN1_INT)
-		goto err_addr_free;;
+		goto err_addr_free;
 		
 	if (!asn1_uint_decode(ctx, end, &trap->general))
-		goto err_addr_free;;
+		goto err_addr_free;
 		
 	if (!asn1_header_decode(ctx, &end, &cls, &con, &tag))
 		goto err_addr_free;
net/sched/sch_hfsc.c +1 -1
diff -pruN linux-2.4.26-vanilla/net/sched/sch_hfsc.c linux-2.4.26/net/sched/sch_hfsc.c
@@ -1562,7 +1562,7 @@ hfsc_change_qdisc(struct Qdisc *sch, str
 	struct tc_hfsc_qopt *qopt;
 
 	if (opt == NULL || RTA_PAYLOAD(opt) < sizeof(*qopt))
-		return -EINVAL;;
+		return -EINVAL;
 	qopt = RTA_DATA(opt);
 
 	sch_tree_lock(sch);
net/sctp/bind_addr.c +1 -1
diff -pruN linux-2.4.27-pre2-vanilla/net/sctp/bind_addr.c linux-2.4.27-pre2/net/sctp/bind_addr.c
@@ -292,7 +292,7 @@ int sctp_raw_to_bind_addrs(struct sctp_b
 		if (retval) {
 			/* Can't finish building the list, clean up. */
 			sctp_bind_addr_clean(bp);
-			break;;
+			break;
 		}
 
 		len = ntohs(param->length);
net/sctp/sm_make_chunk.c +1 -1
diff -pruN linux-2.4.27-pre2-vanilla/net/sctp/sm_make_chunk.c linux-2.4.27-pre2/net/sctp/sm_make_chunk.c
@@ -1480,7 +1480,7 @@ malformed:
 struct __sctp_missing {
 	__u32 num_missing;
 	__u16 type;
-}  __attribute__((packed));;
+}  __attribute__((packed));
 
 /*
  * Report a missing mandatory parameter.
net/sctp/socket.c +1 -1
diff -pruN linux-2.4.27-pre2-vanilla/net/sctp/socket.c linux-2.4.27-pre2/net/sctp/socket.c
@@ -4505,7 +4505,7 @@ static void sctp_sock_migrate(struct soc
 	 * 3) Peeling off non-partial delivery; move pd_lobby to recieve_queue.
 	 */
 	skb_queue_head_init(&newsp->pd_lobby);
-	sctp_sk(newsk)->pd_mode = assoc->ulpq.pd_mode;;
+	sctp_sk(newsk)->pd_mode = assoc->ulpq.pd_mode;
 
 	if (sctp_sk(oldsk)->pd_mode) {
 		struct sk_buff_head *queue;
net/wanrouter/wanmain.c +1 -1
diff -pruN linux-2.4.26-vanilla/net/wanrouter/wanmain.c linux-2.4.26/net/wanrouter/wanmain.c
@@ -604,7 +604,7 @@ static int device_setup (wan_device_t *w
 			    "%s: ERROR, Invalid firmware data size %i !\n",
 					wandev->name, conf->data_size);
 			kfree(conf);
-		        return -EINVAL;;
+		        return -EINVAL;
 		}
 
 #if defined (LINUX_2_1) || defined (LINUX_2_4)