|
@@ -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,
|