Remove unused variables, which give gcc 4.6 problems.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
void pxe_cleanup_isr(void)
{
static __lowmem struct s_PXENV_UNDI_CLOSE undi_close;
- int err;
sched_hook_func = NULL;
core_pm_hook = core_pm_null_hook;
kill_thread(pxe_thread);
memset(&undi_close, 0, sizeof(undi_close));
- err = pxe_call(PXENV_UNDI_CLOSE, &undi_close);
+ pxe_call(PXENV_UNDI_CLOSE, &undi_close);
uninstall_irq_vector(pxe_irq_vector, pxe_isr, &pxe_irq_chain);
}
const uint8_t *timeout_ptr;
jiffies_t timeout;
jiffies_t oldtime;
- uint16_t tid;
uint16_t opcode;
uint16_t blk_num;
uint32_t opdata, *opdata_ptr;
oldtime = jiffies();
socket->tftp_remoteip = ip;
- tid = socket->tftp_localport; /* TID(local port No) */
nbuf = netbuf_new();
netbuf_ref(nbuf, rrq_packet_buf, rrq_len);
addr.addr = ip;