diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2009-07-28 13:46:23 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:52 -0700 |
commit | b578852955765bfbe12bd31ac1e7888a3deaff40 (patch) | |
tree | 81ab61e5cad7656fce4d6a0f489d756afe880030 /drivers | |
parent | 2295ba2e7c4141e864f66830b07e635245233a3d (diff) | |
download | op-kernel-dev-b578852955765bfbe12bd31ac1e7888a3deaff40.zip op-kernel-dev-b578852955765bfbe12bd31ac1e7888a3deaff40.tar.gz |
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 <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/hv/blkvsc_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv/blkvsc_drv.c index dff950b..988de64 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) |