diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/um/drivers/ubd_kern.c | 1 |
1 files changed, 0 insertions, 1 deletions
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, | |||
627 | 627 | ||
628 | { | 628 | { |
629 | struct gendisk *disk; | 629 | struct gendisk *disk; |
630 | int err; | ||
631 | 630 | ||
632 | disk = alloc_disk(1 << UBD_SHIFT); | 631 | disk = alloc_disk(1 << UBD_SHIFT); |
633 | if(disk == NULL) | 632 | if(disk == NULL) |