lkml.org 
[lkml]   [2003]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    SubjectRe: [PATCH] PCI fixes for 2.6.0-test7
    From
    Date
    ChangeSet 1.1347.1.4, 2003/10/13 11:32:38-07:00, greg@kroah.com

    CHAR: Remove unneeded MOD_INC and MOD_DEC calls.


    drivers/char/ite_gpio.c | 9 ---------
    1 files changed, 9 deletions(-)


    diff -Nru a/drivers/char/ite_gpio.c b/drivers/char/ite_gpio.c
    --- a/drivers/char/ite_gpio.c Wed Oct 15 11:18:36 2003
    +++ b/drivers/char/ite_gpio.c Wed Oct 15 11:18:36 2003
    @@ -242,21 +242,12 @@
    if (minor != GPIO_MINOR)
    return -ENODEV;

    -#ifdef MODULE
    - MOD_INC_USE_COUNT;
    -#endif
    -
    return 0;
    }


    static int ite_gpio_release(struct inode *inode, struct file *file)
    {
    -
    -#ifdef MODULE
    - MOD_DEC_USE_COUNT;
    -#endif
    -
    return 0;
    }

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:49    [W:2.587 / U:0.960 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site