From b578852955765bfbe12bd31ac1e7888a3deaff40 Mon Sep 17 00:00:00 2001 From: Bill Pemberton Date: Tue, 28 Jul 2009 13:46:23 -0400 Subject: [PATCH] Staging: hv: comment out blkdev variable in blkvsc_ioctl 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 Cc: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/hv/blkvsc_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv/blkvsc_drv.c index dff950b591c1..988de64be675 100644 --- a/drivers/staging/hv/blkvsc_drv.c +++ b/drivers/staging/hv/blkvsc_drv.c @@ -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) -- 2.30.2