提交 03a3f824 编写于 作者: J Jeff Dike 提交者: Linus Torvalds

[PATCH] uml: remove unused variable

The dedevfsification of UML left an unused variable behind.
Signed-off-by: NJeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 9ead6fee
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册