UBUNTU: SAUCE: fix compilation warning when CONFIG_SECURITY is not set
[linux-flexiantxendom0-natty.git] / include / linux / security.h
index 78d64cc..f30ea53 100644 (file)
@@ -2255,7 +2255,7 @@ static inline int security_task_create(unsigned long clone_flags)
        return 0;
 }
 
-static inline int security_task_free(struct task_struct *task)
+static inline void security_task_free(struct task_struct *task)
 { }
 
 static inline int security_cred_alloc_blank(struct cred *cred, gfp_t gfp)