]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
Staging: hv: comment out blkdev variable in blkvsc_ioctl
authorBill Pemberton <wfp5p@virginia.edu>
Tue, 28 Jul 2009 17:46:23 +0000 (13:46 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:52 +0000 (12:01 -0700)
This variable generated an unused variable warning due to other code
in the fuction being commented out.  This comments out the variable
defination so that the code compiles without warnings.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/blkvsc_drv.c

index dff950b591c1ebd19da62ac2a3992415fdecef08..988de64be675f35dcb814bda6664143fb62858a7 100644 (file)
@@ -1461,7 +1461,7 @@ int blkvsc_getgeo(struct block_device *bd, struct hd_geometry *hg)
 static int blkvsc_ioctl(struct block_device *bd, fmode_t mode,
                        unsigned cmd, unsigned long argument)
 {
-       struct block_device_context *blkdev = bd->bd_disk->private_data;
+/*     struct block_device_context *blkdev = bd->bd_disk->private_data; */
        int ret=0;
 
        switch (cmd)