[PATCH 6/6] UML - Kill an unused variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The HDIO_GETGEO patch left an unused variable in the UML block
driver.  This gets rid of it.

Signed-off-by: Jeff Dike <[email protected]>

Index: linux-2.6.15-mm/arch/um/drivers/ubd_kern.c
===================================================================
--- linux-2.6.15-mm.orig/arch/um/drivers/ubd_kern.c	2006-01-06 21:05:23.000000000 -0500
+++ linux-2.6.15-mm/arch/um/drivers/ubd_kern.c	2006-01-08 09:33:13.000000000 -0500
@@ -1073,7 +1073,6 @@ static int ubd_getgeo(struct block_devic
 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,

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux