mirror of https://gitee.com/openkylin/linux.git
[PATCH] uml: remove unused variable
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>
This commit is contained in:
parent
9ead6feedd
commit
03a3f824ea
|
@ -627,7 +627,6 @@ static int ubd_new_disk(int major, u64 size, int unit,
|
||||||
|
|
||||||
{
|
{
|
||||||
struct gendisk *disk;
|
struct gendisk *disk;
|
||||||
int err;
|
|
||||||
|
|
||||||
disk = alloc_disk(1 << UBD_SHIFT);
|
disk = alloc_disk(1 << UBD_SHIFT);
|
||||||
if(disk == NULL)
|
if(disk == NULL)
|
||||||
|
|
Loading…
Reference in New Issue