1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Fix some unused variables.

This commit is contained in:
Peter Wemm 2002-03-19 11:15:26 +00:00
parent 12adcbdf35
commit 3b406873c7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=92676
3 changed files with 5 additions and 1 deletions

View File

@ -101,7 +101,10 @@ configure(void *dummy)
void
cpu_rootconf()
{
#if defined(NFSCLIENT) && defined(NFS_ROOT)
int order = 0;
#endif
#ifdef BOOTP
if (!ia64_running_in_simulator())
bootpc_init();

View File

@ -42,7 +42,6 @@ elf_reloc(linker_file_t lf, const void *data, int type, const char *sym)
{
Elf_Addr relocbase = (Elf_Addr) lf->address;
Elf_Addr *where;
Elf_Addr addr;
Elf_Addr addend;
Elf_Word rtype;
const Elf_Rel *rel;

View File

@ -228,7 +228,9 @@ struct isa_dmastart_arg {
static void isa_dmastart_cb(void *arg, bus_dma_segment_t *segs, int nseg,
int error)
{
#if 0
caddr_t addr = ((struct isa_dmastart_arg *) arg)->addr;
#endif
int chan = ((struct isa_dmastart_arg *) arg)->chan;
int flags = ((struct isa_dmastart_arg *) arg)->flags;
bus_addr_t phys = segs->ds_addr;