Remove unused variables. Remove prototype for function that does not exist.

This commit is contained in:
Philippe Charnier 2005-05-20 13:14:18 +00:00
parent d36dd0b78e
commit f942457007
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=146448

View File

@ -92,8 +92,6 @@ static int bc_read(int unit, daddr_t dblk, int blks, caddr_t dest);
static int bc_init(void);
static int bc_strategy(void *devdata, int flag, daddr_t dblk,
size_t size, char *buf, size_t *rsize);
static int bc_realstrategy(void *devdata, int flag, daddr_t dblk,
size_t size, char *buf, size_t *rsize);
static int bc_open(struct open_file *f, ...);
static int bc_close(struct open_file *f);
static void bc_print(int verbose);
@ -193,7 +191,6 @@ bc_open(struct open_file *f, ...)
{
va_list ap;
struct i386_devdesc *dev;
int error;
va_start(ap, f);
dev = va_arg(ap, struct i386_devdesc *);
@ -263,7 +260,7 @@ bc_strategy(void *devdata, int rw, daddr_t dblk, size_t size, char *buf,
static int
bc_read(int unit, daddr_t dblk, int blks, caddr_t dest)
{
u_int result, resid, retry;
u_int result, retry;
static unsigned short packet[8];
int biosdev;
#ifdef DISK_DEBUG