Messages in this thread Patch in this message | | | Date | Fri, 7 Aug 2009 09:10:51 +0800 | From | Dave Young <> | Subject | Re: mmotm 2009-08-06-00-30 uploaded |
| |
On Thu, Aug 06, 2009 at 12:33:06AM -0700, akpm@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2009-08-06-00-30 has been uploaded to > > http://userweb.kernel.org/~akpm/mmotm/ > > and will soon be available at > > git://git.zen-sources.org/zen/mmotm.git > > It contains the following patches against 2.6.31-rc5: >
Hi, andrew
Following a fix for the build warning about unused variable. ---
Fix build warning about the unused variable in char_dev.c:267
Remove the unused char *s
Signed-off-by: Dave Young <hidave.darkstar@gmail.com> -- fs/char_dev.c | 1 - 1 file changed, 1 deletion(-)
--- linux-2.6.30.orig/fs/char_dev.c 2009-08-05 14:04:59.000000000 +0800 +++ linux-2.6.30/fs/char_dev.c 2009-08-06 20:48:24.000000000 +0800 @@ -264,7 +264,6 @@ int register_chrdev(unsigned int major, { struct char_device_struct *cd; struct cdev *cdev; - char *s; int err = -ENOMEM; cd = __register_chrdev_region(major, 0, 256, name);
| |