History

[PATCH] s/;;/;/g

Alexey Dobriyan committed 20 years ago

Commit 53b35311 parent 29afd4931 files · +37 −37Browse files

Showing the changes to drivers (15 of 31 files). Show all

Unified · Split

15 files
  1. drivers/char/pcmcia/synclink_cs.c +1 −1
  2. drivers/char/synclink.c +1 −1
  3. drivers/char/synclink_gt.c +1 −1
  4. drivers/char/synclinkmp.c +1 −1
  5. drivers/hwmon/gl520sm.c +1 −1
  6. drivers/i2c/chips/rtc8564.c +1 −1
  7. drivers/ide/ide-dma.c +1 −1
  8. drivers/net/sk98lin/skge.c +1 −1
  9. drivers/net/sky2.h +1 −1
  10. drivers/net/wireless/prism54/oid_mgt.c +2 −2
  11. drivers/net/wireless/spectrum_cs.c +1 −1
  12. drivers/scsi/megaraid/megaraid_mbox.c +1 −1
  13. drivers/usb/image/microtek.c +1 −1
  14. drivers/usb/input/hid-core.c +1 −1
  15. drivers/video/aty/radeon_pm.c +1 −1
drivers/char/pcmcia/synclink_cs.c+1−1
@@ -4181,7 +4181,7 @@ static int hdlcdev_attach(struct net_device *dev, unsigned short encoding, · 4180 unmodified lines
41814181 }
41824182
41834183 info->params.encoding = new_encoding;
4184− info->params.crc_type = new_crctype;;
4184+ info->params.crc_type = new_crctype;
41854185
41864186 /* if network interface up, reprogram hardware */
41874187 if (info->netcount)
drivers/char/synclink.c+1−1
@@ -7770,7 +7770,7 @@ static int hdlcdev_attach(struct net_device *dev, unsigned short encoding, · 7769 unmodified lines
77707770 }
77717771
77727772 info->params.encoding = new_encoding;
7773− info->params.crc_type = new_crctype;;
7773+ info->params.crc_type = new_crctype;
77747774
77757775 /* if network interface up, reprogram hardware */
77767776 if (info->netcount)
drivers/char/synclink_gt.c+1−1
@@ -1365,7 +1365,7 @@ static int hdlcdev_attach(struct net_device *dev, unsigned short encoding, · 1364 unmodified lines
13651365 }
13661366
13671367 info->params.encoding = new_encoding;
1368− info->params.crc_type = new_crctype;;
1368+ info->params.crc_type = new_crctype;
13691369
13701370 /* if network interface up, reprogram hardware */
13711371 if (info->netcount)
drivers/char/synclinkmp.c+1−1
@@ -1650,7 +1650,7 @@ static int hdlcdev_attach(struct net_device *dev, unsigned short encoding, · 1649 unmodified lines
16501650 }
16511651
16521652 info->params.encoding = new_encoding;
1653− info->params.crc_type = new_crctype;;
1653+ info->params.crc_type = new_crctype;
16541654
16551655 /* if network interface up, reprogram hardware */
16561656 if (info->netcount)
drivers/hwmon/gl520sm.c+1−1
@@ -456,7 +456,7 @@ static ssize_t set_temp_max(struct i2c_client *client, struct gl520_data *data, · 455 unmodified lines
456456 long v = simple_strtol(buf, NULL, 10);
457457
458458 mutex_lock(&data->update_lock);
459− data->temp_max[n - 1] = TEMP_TO_REG(v);;
459+ data->temp_max[n - 1] = TEMP_TO_REG(v);
460460 gl520_write_value(client, reg, data->temp_max[n - 1]);
461461 mutex_unlock(&data->update_lock);
462462 return count;
drivers/i2c/chips/rtc8564.c+1−1
@@ -53,7 +53,7 @@ static inline u8 _rtc8564_ctrl2(struct i2c_client *client) · 52 unmodified lines
5353 #define CTRL1(c) _rtc8564_ctrl1(c)
5454 #define CTRL2(c) _rtc8564_ctrl2(c)
5555
56−static int debug;;
56+static int debug;
5757 module_param(debug, int, S_IRUGO | S_IWUSR);
5858
5959 static struct i2c_driver rtc8564_driver;
drivers/ide/ide-dma.c+1−1
@@ -175,7 +175,7 @@ ide_startstop_t ide_dma_intr (ide_drive_t *drive) · 174 unmodified lines
175175 if (rq->rq_disk) {
176176 ide_driver_t *drv;
177177
178− drv = *(ide_driver_t **)rq->rq_disk->private_data;;
178+ drv = *(ide_driver_t **)rq->rq_disk->private_data;
179179 drv->end_request(drive, 1, rq->nr_sectors);
180180 } else
181181 ide_end_request(drive, 1, rq->nr_sectors);
drivers/net/sk98lin/skge.c+1−1
@@ -1727,7 +1727,7 @@ struct sk_buff *pMessage) /* pointer to send-message */ · 1726 unmodified lines
17271727 pTxd->VDataHigh = (SK_U32) (PhysAddr >> 32);
17281728 pTxd->pMBuf = pMessage;
17291729
1730− pTxd->TBControl = Control | BMU_OWN | sk_frag->size;;
1730+ pTxd->TBControl = Control | BMU_OWN | sk_frag->size;
17311731
17321732 /*
17331733 ** Do we have the last fragment?
drivers/net/sky2.h+1−1
@@ -1804,7 +1804,7 @@ struct sky2_rx_le { · 1803 unmodified lines
18041804 __le16 length;
18051805 u8 ctrl;
18061806 u8 opcode;
1807−} __attribute((packed));;
1807+} __attribute((packed));
18081808
18091809 struct sky2_status_le {
18101810 __le32 status; /* also checksum */
drivers/net/wireless/prism54/oid_mgt.c+2−2
@@ -332,7 +332,7 @@ mgt_le_to_cpu(int type, void *data) · 331 unmodified lines
332332 case OID_TYPE_ATTACH:{
333333 struct obj_attachment *attach = data;
334334 attach->id = le16_to_cpu(attach->id);
335− attach->size = le16_to_cpu(attach->size);;
335+ attach->size = le16_to_cpu(attach->size);
336336 break;
337337 }
338338 case OID_TYPE_SSID:
@@ -401,7 +401,7 @@ mgt_cpu_to_le(int type, void *data) · 62 unmodified lines
401401 case OID_TYPE_ATTACH:{
402402 struct obj_attachment *attach = data;
403403 attach->id = cpu_to_le16(attach->id);
404− attach->size = cpu_to_le16(attach->size);;
404+ attach->size = cpu_to_le16(attach->size);
405405 break;
406406 }
407407 case OID_TYPE_SSID:
drivers/net/wireless/spectrum_cs.c+1−1
@@ -147,7 +147,7 @@ struct pdi { · 146 unmodified lines
147147 __le16 _len; /* length of ID and data, in words */
148148 __le16 _id; /* record ID */
149149 char data[0]; /* plug data */
150−} __attribute__ ((packed));;
150+} __attribute__ ((packed));
151151
152152
153153 /* Functions for access to little-endian data */
drivers/scsi/megaraid/megaraid_mbox.c+1−1
@@ -2797,7 +2797,7 @@ mbox_post_sync_cmd(adapter_t *adapter, uint8_t raw_mbox[]) · 2796 unmodified lines
27972797 // available within 1 second, assume FW is initializing and wait
27982798 // for an extended amount of time
27992799 if (mbox->numstatus == 0xFF) { // status not yet available
2800− udelay(25);;
2800+ udelay(25);
28012801
28022802 for (i = 0; mbox->numstatus == 0xFF && i < 1000; i++) {
28032803 rmb();
drivers/usb/image/microtek.c+1−1
@@ -360,7 +360,7 @@ static int mts_scsi_host_reset (Scsi_Cmnd *srb) · 359 unmodified lines
360360 rc = usb_lock_device_for_reset(desc->usb_dev, desc->usb_intf);
361361 if (rc < 0)
362362 return FAILED;
363− result = usb_reset_device(desc->usb_dev);;
363+ result = usb_reset_device(desc->usb_dev);
364364 if (rc)
365365 usb_unlock_device(desc->usb_dev);
366366 return result ? FAILED : SUCCESS;
drivers/usb/input/hid-core.c+1−1
@@ -1215,7 +1215,7 @@ static void hid_irq_out(struct urb *urb, struct pt_regs *regs) · 1214 unmodified lines
12151215
12161216 if (hid->outhead != hid->outtail) {
12171217 if (hid_submit_out(hid)) {
1218− clear_bit(HID_OUT_RUNNING, &hid->iofl);;
1218+ clear_bit(HID_OUT_RUNNING, &hid->iofl);
12191219 wake_up(&hid->wait);
12201220 }
12211221 spin_unlock_irqrestore(&hid->outlock, flags);
drivers/video/aty/radeon_pm.c+1−1
@@ -2080,7 +2080,7 @@ static void radeon_reinitialize_M9P(struct radeonfb_info *rinfo) · 2079 unmodified lines
20802080 OUTREG(0x2ec, 0x6332a3f0);
20812081 mdelay(17);
20822082
2083− OUTPLL(pllPPLL_REF_DIV, rinfo->pll.ref_div);;
2083+ OUTPLL(pllPPLL_REF_DIV, rinfo->pll.ref_div);
20842084 OUTPLL(pllPPLL_DIV_0, rinfo->save_regs[92]);
20852085
20862086 mdelay(40);