From: Jeff Dike Date: Mon, 10 Jul 2006 11:45:15 +0000 (-0700) Subject: [PATCH] uml: remove unused variable X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=03a3f824eae944e9d3649cbccf874e7fbe228477;p=linux-beck.git [PATCH] uml: remove unused variable The dedevfsification of UML left an unused variable behind. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c index 602d7286b9e0..34085315aa57 100644 --- a/arch/um/drivers/ubd_kern.c +++ b/arch/um/drivers/ubd_kern.c @@ -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)