aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2006-01-11 15:17:29 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-11 21:42:10 -0500
commitbeb25c6e27b21d0c0f7b9c2769fa334f1f9a8c2c (patch)
tree1b4f10528b5d73db96e7b71e9eae58f8bf236d47 /arch
parent621009f4baf24581211dbb7b0816e01ed9fa8496 (diff)
[PATCH] uml: kill an unused variable
The HDIO_GETGEO patch left an unused variable in the UML block driver. This gets rid of it. Signed-off-by: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/um/drivers/ubd_kern.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c
index 3a93c6f772fa..7696f8d2d89c 100644
--- a/arch/um/drivers/ubd_kern.c
+++ b/arch/um/drivers/ubd_kern.c
@@ -1073,7 +1073,6 @@ static int ubd_getgeo(struct block_device *bdev, struct hd_geometry *geo)
1073static int ubd_ioctl(struct inode * inode, struct file * file, 1073static int ubd_ioctl(struct inode * inode, struct file * file,
1074 unsigned int cmd, unsigned long arg) 1074 unsigned int cmd, unsigned long arg)
1075{ 1075{
1076 struct hd_geometry __user *loc = (struct hd_geometry __user *) arg;
1077 struct ubd *dev = inode->i_bdev->bd_disk->private_data; 1076 struct ubd *dev = inode->i_bdev->bd_disk->private_data;
1078 struct hd_driveid ubd_id = { 1077 struct hd_driveid ubd_id = {
1079 .cyls = 0, 1078 .cyls = 0,