mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
[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>
This commit is contained in:
parent
621009f4ba
commit
beb25c6e27
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user