* [uml-devel] [PATCH 6/6] UML - Kill an unused variable
@ 2006-01-09 4:11 Jeff Dike
0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2006-01-09 4:11 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel, user-mode-linux-devel
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>
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,
-------------------------------------------------------
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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-01-09 3:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-09 4:11 [uml-devel] [PATCH 6/6] UML - Kill an unused variable Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox