Removed mounds of unused variables.

This commit is contained in:
bde 2002-02-25 03:45:09 +00:00
parent 9a245ba0a5
commit 3e9af13b4e

View File

@ -158,7 +158,6 @@ static int
read_strategy(void *devdata, int unit, int rw, daddr_t blk, size_t size,
char *buf, size_t *rsize)
{
static int bcache_unit = -1;
struct bcache_devdata *dd = (struct bcache_devdata *)devdata;
int p_size, result;
daddr_t p_blk, i, j, nblk;
@ -227,9 +226,6 @@ bcache_strategy(void *devdata, int unit, int rw, daddr_t blk, size_t size,
{
static int bcache_unit = -1;
struct bcache_devdata *dd = (struct bcache_devdata *)devdata;
int p_size, result;
daddr_t p_blk, i, j, nblk;
caddr_t p_buf;
bcache_ops++;