lkml.org 
[lkml]   [2009]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 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);

\
 
 \ /
  Last update: 2009-08-07 03:13    [W:0.209 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site