[patch] removes redundant sys_delete_module()

From: Coywolf Qi Hunt (coywolf_at_gmail.com)
Date: 12/30/04

  • Next message: Russell King: "Re: [PATCH] MMC block removable flag"
    Date:	Thu, 30 Dec 2004 17:54:01 +0800
    To: linux-kernel@vger.kernel.org
    
    

    Peter Chubb recently splitted out a standalone sys_ni.c file for the
    not implemented syscalls.
    This patch removes the redundant sys_delete_module() in module.c.

    Signed-off-by: Coywolf Qi Hunt <coywolf@gmail.com>

     module.c | 7 -------
     1 files changed, 7 deletions(-)

    diff -Nurp 2.6.10/kernel/module.c 2.6.10-cy/kernel/module.c
    --- 2.6.10/kernel/module.c 2004-12-29 01:29:40.000000000 +0800
    +++ 2.6.10-cy/kernel/module.c 2004-12-30 17:17:41.000000000 +0800
    @@ -681,13 +681,6 @@ static inline int use_module(struct modu
     static inline void module_unload_init(struct module *mod)
     {
     }
    -
    -asmlinkage long
    -sys_delete_module(const char __user *name_user, unsigned int flags)
    -{
    - return -ENOSYS;
    -}
    -
     #endif /* CONFIG_MODULE_UNLOAD */
     
     #ifdef CONFIG_OBSOLETE_MODPARM

    -- 
    Coywolf Qi Hunt
    Homepage http://sosdg.org/~coywolf/
    -
    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/
    

  • Next message: Russell King: "Re: [PATCH] MMC block removable flag"

    Relevant Pages