Skip to contentSkip to conversation

UML - Kill an unused variable

PATCH New Jeff Dike 1 participant 1 message Jan 9, 2006 User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

PATCH 6/6 UML - Kill an unused variable

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

arch/um/drivers/ubd_kern.c +0 -1
Index: linux-2.6.15-mm/arch/um/drivers/ubd_kern.c
===================================================================
@@ -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,

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel