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 19/62] drivers/ide: Remove unnecessary semicolons
    Date
    Signed-off-by: Joe Perches <joe@perches.com>
    ---
    drivers/ide/ide-probe.c | 2 +-
    drivers/ide/umc8672.c | 4 ++--
    2 files changed, 3 insertions(+), 3 deletions(-)

    diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c
    index 1bb106f..20120fd 100644
    --- a/drivers/ide/ide-probe.c
    +++ b/drivers/ide/ide-probe.c
    @@ -1201,7 +1201,7 @@ static int ide_find_port_slot(const struct ide_port_info *d)
    {
    int idx = -ENOENT;
    u8 bootable = (d && (d->host_flags & IDE_HFLAG_NON_BOOTABLE)) ? 0 : 1;
    - u8 i = (d && (d->host_flags & IDE_HFLAG_QD_2ND_PORT)) ? 1 : 0;;
    + u8 i = (d && (d->host_flags & IDE_HFLAG_QD_2ND_PORT)) ? 1 : 0;

    /*
    * Claim an unassigned slot.
    diff --git a/drivers/ide/umc8672.c b/drivers/ide/umc8672.c
    index 0608d41..60f936e 100644
    --- a/drivers/ide/umc8672.c
    +++ b/drivers/ide/umc8672.c
    @@ -170,9 +170,9 @@ static int __init umc8672_init(void)
    goto out;

    if (umc8672_probe() == 0)
    - return 0;;
    + return 0;
    out:
    - return -ENODEV;;
    + return -ENODEV;
    }

    module_init(umc8672_init);
    --
    1.6.3.1.10.g659a0.dirty


    \
     
     \ /
      Last update: 2009-06-28 18:39    [W:2.510 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site