summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2006-01-11 12:17:29 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-11 18:42:10 -0800
commitbeb25c6e27b21d0c0f7b9c2769fa334f1f9a8c2c (patch)
tree1b4f10528b5d73db96e7b71e9eae58f8bf236d47 /arch
parent621009f4baf24581211dbb7b0816e01ed9fa8496 (diff)
downloadop-kernel-dev-beb25c6e27b21d0c0f7b9c2769fa334f1f9a8c2c.zip
op-kernel-dev-beb25c6e27b21d0c0f7b9c2769fa334f1f9a8c2c.tar.gz
[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 3a93c6f..7696f8d 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)
static int ubd_ioctl(struct inode * inode, struct file * file,
unsigned int cmd, unsigned long arg)
{
- struct hd_geometry __user *loc = (struct hd_geometry __user *) arg;
struct ubd *dev = inode->i_bdev->bd_disk->private_data;
struct hd_driveid ubd_id = {
.cyls = 0,
OpenPOWER on IntegriCloud