lkml.org 
[lkml]   [2011]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[RFC V2 15/21]drivers:target Remove extra semi-colon.
    Date
    The patch below removes an extra semi-colon from various parts 
    of the kernel. Please have a look when you have time, and let
    me know if its legit or not.

    Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>

    ---
    drivers/target/target_core_alua.c | 4 ++--
    drivers/target/target_core_transport.c | 2 +-
    2 files changed, 3 insertions(+), 3 deletions(-)

    diff --git a/drivers/target/target_core_alua.c b/drivers/target/target_core_alua.c
    index 2c5fcfe..e7dddaf 100644
    --- a/drivers/target/target_core_alua.c
    +++ b/drivers/target/target_core_alua.c
    @@ -1036,7 +1036,7 @@ core_alua_allocate_lu_gp(const char *name, int def_group)
    lu_gp = kmem_cache_zalloc(t10_alua_lu_gp_cache, GFP_KERNEL);
    if (!(lu_gp)) {
    printk(KERN_ERR "Unable to allocate struct t10_alua_lu_gp\n");
    - return ERR_PTR(-ENOMEM);;
    + return ERR_PTR(-ENOMEM);
    }
    INIT_LIST_HEAD(&lu_gp->lu_gp_list);
    INIT_LIST_HEAD(&lu_gp->lu_gp_mem_list);
    @@ -1044,7 +1044,7 @@ core_alua_allocate_lu_gp(const char *name, int def_group)
    atomic_set(&lu_gp->lu_gp_ref_cnt, 0);

    if (def_group) {
    - lu_gp->lu_gp_id = se_global->alua_lu_gps_counter++;;
    + lu_gp->lu_gp_id = se_global->alua_lu_gps_counter++;
    lu_gp->lu_gp_valid_id = 1;
    se_global->alua_lu_gps_count++;
    }
    diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c
    index ff9ace0..39ac190 100644
    --- a/drivers/target/target_core_transport.c
    +++ b/drivers/target/target_core_transport.c
    @@ -2131,7 +2131,7 @@ static void transport_failure_reset_queue_depth(struct se_device *dev)
    {
    unsigned long flags;

    - spin_lock_irqsave(&SE_HBA(dev)->hba_queue_lock, flags);;
    + spin_lock_irqsave(&SE_HBA(dev)->hba_queue_lock, flags);
    atomic_inc(&dev->depth_left);
    atomic_inc(&SE_HBA(dev)->left_queue_depth);
    spin_unlock_irqrestore(&SE_HBA(dev)->hba_queue_lock, flags);
    --
    1.7.4.1


    \
     
     \ /
      Last update: 2011-03-24 21:59    [W:0.022 / U:4.540 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site