Re: mmotm 2009-08-06-00-30 uploaded

From: Dave Young
Date: Thu Aug 06 2009 - 21:11:06 EST


On Thu, Aug 06, 2009 at 12:33:06AM -0700, akpm@xxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxx>
--
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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/