lkml.org 
[lkml]   [2009]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 45/62] drivers/spi: Remove unnecessary semicolons
    Date
    Signed-off-by: Joe Perches <joe@perches.com>
    ---
    drivers/spi/omap_uwire.c | 2 +-
    drivers/spi/spi_s3c24xx.c | 2 +-
    2 files changed, 2 insertions(+), 2 deletions(-)

    diff --git a/drivers/spi/omap_uwire.c b/drivers/spi/omap_uwire.c
    index aa90ddb..fbfd321 100644
    --- a/drivers/spi/omap_uwire.c
    +++ b/drivers/spi/omap_uwire.c
    @@ -213,7 +213,7 @@ static int uwire_txrx(struct spi_device *spi, struct spi_transfer *t)
    unsigned bits = ust->bits_per_word;
    unsigned bytes;
    u16 val, w;
    - int status = 0;;
    + int status = 0;

    if (!t->tx_buf && !t->rx_buf)
    return 0;
    diff --git a/drivers/spi/spi_s3c24xx.c b/drivers/spi/spi_s3c24xx.c
    index e0d44af..9253cab 100644
    --- a/drivers/spi/spi_s3c24xx.c
    +++ b/drivers/spi/spi_s3c24xx.c
    @@ -385,7 +385,7 @@ static int __init s3c24xx_spi_probe(struct platform_device *pdev)

    err_no_iores:
    err_no_pdata:
    - spi_master_put(hw->master);;
    + spi_master_put(hw->master);

    err_nomem:
    return err;
    --
    1.6.3.1.10.g659a0.dirty


    \
     
     \ /
      Last update: 2009-06-28 18:45    [W:0.020 / U:29.904 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site