Commit 1afaa712 authored by Jeff Garzik's avatar Jeff Garzik

[netdrvr] fix compiler warnings in 3c359, proteon, skisa

tokenring drivers.
parent 0ccb2995
...@@ -464,7 +464,7 @@ static int xl_hw_reset(struct net_device *dev) ...@@ -464,7 +464,7 @@ static int xl_hw_reset(struct net_device *dev)
printk(KERN_INFO "3C359: Uploading Microcode: "); printk(KERN_INFO "3C359: Uploading Microcode: ");
for (i = start,j=0; (j < mc_size && i <= 0xffff) ; i++,j++) { for (i = start, j = 0; j < mc_size; i++, j++) {
writel(MEM_BYTE_WRITE | 0XD0000 | i, xl_mmio + MMIO_MAC_ACCESS_CMD) ; writel(MEM_BYTE_WRITE | 0XD0000 | i, xl_mmio + MMIO_MAC_ACCESS_CMD) ;
writeb(microcode[j],xl_mmio + MMIO_MACDATA) ; writeb(microcode[j],xl_mmio + MMIO_MACDATA) ;
if (j % 1024 == 0) if (j % 1024 == 0)
......
...@@ -401,7 +401,6 @@ static int __init setup_card(unsigned long io, unsigned irq, unsigned char dma) ...@@ -401,7 +401,6 @@ static int __init setup_card(unsigned long io, unsigned irq, unsigned char dma)
int init_module(void) int init_module(void)
{ {
int i, num; int i, num;
struct net_device *dev;
num = 0; num = 0;
if (io[0]) { /* Only probe addresses from command line */ if (io[0]) { /* Only probe addresses from command line */
......
...@@ -414,7 +414,6 @@ static int __init setup_card(unsigned long io, unsigned irq, unsigned char dma) ...@@ -414,7 +414,6 @@ static int __init setup_card(unsigned long io, unsigned irq, unsigned char dma)
int init_module(void) int init_module(void)
{ {
int i, num; int i, num;
struct net_device *dev;
num = 0; num = 0;
if (io[0]) { /* Only probe addresses from command line */ if (io[0]) { /* Only probe addresses from command line */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment