[PATCH] uml: remove unused variable
authorJeff Dike <jdike@addtoit.com>
Mon, 10 Jul 2006 11:45:15 +0000 (04:45 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Jul 2006 20:24:24 +0000 (13:24 -0700)
The dedevfsification of UML left an unused variable behind.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/drivers/ubd_kern.c

index 602d7286b9e0e90c997d6b7065f96f41e754cfcc..34085315aa57e045232a20abeea45ec1111dda79 100644 (file)
@@ -627,7 +627,6 @@ static int ubd_new_disk(int major, u64 size, int unit,
                        
 {
        struct gendisk *disk;
-       int err;
 
        disk = alloc_disk(1 << UBD_SHIFT);
        if(disk == NULL)