diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2009-03-04 18:15:06 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2009-03-04 18:15:06 +0000 |
commit | 4f87abf90af67d23582156343ef7dbd66cd18aa8 (patch) | |
tree | 68109cb9147d7767f64e2ee5de150f609fea82fa /firmware | |
parent | 23e28f2b0c871912f9f23993e754db3637b92f0e (diff) |
Cosmetic fix: remove duplicate semicolons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20198 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/generic_i2c.c | 4 | ||||
-rw-r--r-- | firmware/drivers/lcd-1bit-vert.c | 2 | ||||
-rw-r--r-- | firmware/drivers/lcd-2bit-horz.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/usb-tcc.c | 2 | ||||
-rw-r--r-- | firmware/test/i2c/main.c | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/firmware/drivers/generic_i2c.c b/firmware/drivers/generic_i2c.c index 206ded96fb..dd5312da6f 100644 --- a/firmware/drivers/generic_i2c.c +++ b/firmware/drivers/generic_i2c.c @@ -136,7 +136,7 @@ int i2c_write_data(int bus_index, int bus_address, int address, { int i; int ret = 0; - const struct i2c_interface *iface = i2c_if[bus_index];; + const struct i2c_interface *iface = i2c_if[bus_index]; i2c_start(iface); if (!i2c_outb(iface, bus_address & 0xfe)) @@ -173,7 +173,7 @@ int i2c_read_data(int bus_index, int bus_address, int address, { int i; int ret = 0; - const struct i2c_interface *iface = i2c_if[bus_index];; + const struct i2c_interface *iface = i2c_if[bus_index]; if (address != -1) { diff --git a/firmware/drivers/lcd-1bit-vert.c b/firmware/drivers/lcd-1bit-vert.c index 75d1e660c4..f8461e3cbd 100644 --- a/firmware/drivers/lcd-1bit-vert.c +++ b/firmware/drivers/lcd-1bit-vert.c @@ -832,7 +832,7 @@ void LCDFN(puts_scroll_style_offset)(int x, int y, const unsigned char *string, s->y = y; s->len = utf8length(string); s->offset = offset; - s->startx = x * s->width / s->len;; + s->startx = x * s->width / s->len; s->backward = false; LCDFN(scroll_info).lines++; diff --git a/firmware/drivers/lcd-2bit-horz.c b/firmware/drivers/lcd-2bit-horz.c index 0328f9cd5f..a9a691cabd 100644 --- a/firmware/drivers/lcd-2bit-horz.c +++ b/firmware/drivers/lcd-2bit-horz.c @@ -1019,7 +1019,7 @@ void lcd_puts_scroll_style_offset(int x, int y, const unsigned char *string, s->y = y; s->len = utf8length((char *)string); s->offset = offset; - s->startx = x * s->width / s->len;; + s->startx = x * s->width / s->len; s->backward = false; lcd_scroll_info.lines++; } diff --git a/firmware/target/arm/usb-tcc.c b/firmware/target/arm/usb-tcc.c index 345f6bed78..aa4c2e4226 100644 --- a/firmware/target/arm/usb-tcc.c +++ b/firmware/target/arm/usb-tcc.c @@ -546,7 +546,7 @@ int usb_drv_send(int endpoint, void *ptr, int length) { int flags = disable_irq_save(); int rc = 0; - char *data = (unsigned char*) ptr;; + char *data = (unsigned char*) ptr; DEBUG(2, "%s(%d,%d)" , __func__, endpoint, length); diff --git a/firmware/test/i2c/main.c b/firmware/test/i2c/main.c index f2d1101aef..f4540e4959 100644 --- a/firmware/test/i2c/main.c +++ b/firmware/test/i2c/main.c @@ -1134,7 +1134,7 @@ void mpeg_thread(void) filling = false; - break;; + break; } |