two small patches for fs/exec.c and fs/ramfs/inode.c
PATCH 1/1 two small patches for fs/exec.c and fs/ramfs/inode.c
Hi.
Here are two trivial patches that remove warnings. The fs/exec.c patch removes an unused variable, and the fs/ramfs/inode.c patch replaces a call of linux/malloc.h' with linux/slab.h'. Both patches I've applied to my 2.4.7-ac2 kernel. Sorry if this is the 50th time you've seen these posted to the mailing list ...
My thanks to everyone working on the kernel. The 2.4 kernels keep getting better every day!
Art Haas
====================================================
exec.c renamed from exec.c.orig +0 -1
@@ -929,7 +929,6 @@int do_coredump (long signr,struct pt_regs * regs) { -struct mm_struct *mm;struct linux_binfmt * binfmt;char corename[6 +sizeof (current->comm)+10 ];struct file * file;
====================================================
ramfs/inode.c renamed from ramfs/inode.c.orig +1 -1
@@ -30,7 +30,7 @@#include <linux/string.h> #include <linux/locks.h> #include <linux/highmem.h> -#include <linux/malloc.h> +#include <linux/slab.h> #include <asm/uaccess.h> #include <linux/spinlock.h>