From 7631a26bc9743bace35a05251547e919c68aa322 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 7 Dec 2010 10:16:14 +0000 Subject: [PATCH] Removed two unused variables. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2954 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_vdisk.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index 8f336264e..0f6a6eb08 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -4545,7 +4545,7 @@ static int vdisk_write_proc(char *buffer, char **start, off_t offset, struct scst_vdisk_dev *virt_dev, *vv; uint32_t block_size = DEF_DISK_BLOCKSIZE; int block_shift = DEF_DISK_BLOCKSIZE_SHIFT; - size_t len, slen; + size_t slen; TRACE_ENTRY(); @@ -4877,7 +4877,6 @@ static int vcdrom_open(char *p, char *name) { struct scst_vdisk_dev *virt_dev, *vv; char *filename; - int len; int res = 0; int cdrom_empty;