9
0
Fork 0

barebox: remove double semicolons

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Alexander Aring 2013-11-14 14:30:08 +01:00 committed by Sascha Hauer
parent c8daebdfd8
commit 32a5775125
8 changed files with 10 additions and 9 deletions

View File

@ -360,7 +360,8 @@ static void imx_bbu_internal_v2_init_flash_header(struct bbu_handler *handler, s
flash_header->self = imx_handler->app_dest + flash_header_offset;
flash_header->boot_data.start = imx_handler->app_dest;
flash_header->boot_data.size = ALIGN(imx_pre_image_size + data->len, 4096);;
flash_header->boot_data.size = ALIGN(imx_pre_image_size +
data->len, 4096);
if (imx_handler->dcdsize) {
flash_header->dcd.header.tag = DCD_HEADER_TAG;

View File

@ -376,7 +376,7 @@ static int ahci_init_port(struct ahci_port *ahci_port)
ret = wait_on_timeout(WAIT_LINKUP,
(ahci_port_read(ahci_port, PORT_SCR_STAT) & 0xf) == 0x3);
if (ret) {
ahci_port_info(ahci_port, "SATA link timeout\n");;
ahci_port_info(ahci_port, "SATA link timeout\n");
ret = -ETIMEDOUT;
goto err_init;
}

View File

@ -832,7 +832,7 @@ static void mci_extract_card_capacity_from_csd(struct mci *mci)
mci->capacity = (csize + 1) << (cmult + 2);
}
mci->capacity *= 1 << UNSTUFF_BITS(mci->csd, 80, 4);;
mci->capacity *= 1 << UNSTUFF_BITS(mci->csd, 80, 4);
dev_dbg(&mci->dev, "Capacity: %u MiB\n", (unsigned)(mci->capacity >> 20));
}

View File

@ -376,7 +376,7 @@ static int tse_eth_send(struct eth_device *edev, void *packet, int length)
alt_sgdma_do_sync_transfer(tx_sgdma, tx_desc_cur);
return 0;;
return 0;
}
static void tse_eth_halt(struct eth_device *edev)

View File

@ -61,7 +61,7 @@
#define DFU_TEMPFILE "/dfu_temp"
static int dfualt;
static int dfufd = -EINVAL;;
static int dfufd = -EINVAL;
static struct usb_dfu_dev *dfu_devs;
static int dfu_num_alt;
static int dfudetach;

View File

@ -19,8 +19,8 @@ struct image *bmp_open(char *inbuf, int insize)
}
img->data = inbuf;
img->height = le32_to_cpu(bmp->header.height);;
img->width = le32_to_cpu(bmp->header.width);;
img->height = le32_to_cpu(bmp->header.height);
img->width = le32_to_cpu(bmp->header.width);
img->bits_per_pixel = le16_to_cpu(bmp->header.bit_count);
pr_debug("bmp: %d x %d x %d data@0x%p\n", img->width, img->height,

View File

@ -127,7 +127,7 @@ static void dns_handler(void *ctx, char *packet, unsigned len)
debug("%s\n", __func__);
/* We sent 1 query. We want to see more that 1 answer. */
header = (struct header *)net_eth_to_udp_payload(packet);;
header = (struct header *)net_eth_to_udp_payload(packet);
if (ntohs(header->nqueries) != 1)
return;

View File

@ -433,7 +433,7 @@ void net_unregister(struct net_connection *con)
static int net_ip_send(struct net_connection *con, int len)
{
con->ip->tot_len = htons(sizeof(struct iphdr) + len);
con->ip->id = htons(net_ip_id++);;
con->ip->id = htons(net_ip_id++);
con->ip->check = 0;
con->ip->check = ~net_checksum((unsigned char *)con->ip, sizeof(struct iphdr));