diff options
Diffstat (limited to 'drivers/net/stmmac/dwmac1000_core.c')
-rw-r--r-- | drivers/net/stmmac/dwmac1000_core.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/stmmac/dwmac1000_core.c b/drivers/net/stmmac/dwmac1000_core.c index 0aa89ae9b8e9..917b4e16923b 100644 --- a/drivers/net/stmmac/dwmac1000_core.c +++ b/drivers/net/stmmac/dwmac1000_core.c | |||
@@ -48,7 +48,6 @@ static void dwmac1000_core_init(unsigned long ioaddr) | |||
48 | /* Tag detection without filtering */ | 48 | /* Tag detection without filtering */ |
49 | writel(0x0, ioaddr + GMAC_VLAN_TAG); | 49 | writel(0x0, ioaddr + GMAC_VLAN_TAG); |
50 | #endif | 50 | #endif |
51 | return; | ||
52 | } | 51 | } |
53 | 52 | ||
54 | static void dwmac1000_dump_regs(unsigned long ioaddr) | 53 | static void dwmac1000_dump_regs(unsigned long ioaddr) |
@@ -61,7 +60,6 @@ static void dwmac1000_dump_regs(unsigned long ioaddr) | |||
61 | pr_info("\tReg No. %d (offset 0x%x): 0x%08x\n", i, | 60 | pr_info("\tReg No. %d (offset 0x%x): 0x%08x\n", i, |
62 | offset, readl(ioaddr + offset)); | 61 | offset, readl(ioaddr + offset)); |
63 | } | 62 | } |
64 | return; | ||
65 | } | 63 | } |
66 | 64 | ||
67 | static void dwmac1000_set_umac_addr(unsigned long ioaddr, unsigned char *addr, | 65 | static void dwmac1000_set_umac_addr(unsigned long ioaddr, unsigned char *addr, |
@@ -139,8 +137,6 @@ static void dwmac1000_set_filter(struct net_device *dev) | |||
139 | CHIP_DBG(KERN_INFO "\tFrame Filter reg: 0x%08x\n\tHash regs: " | 137 | CHIP_DBG(KERN_INFO "\tFrame Filter reg: 0x%08x\n\tHash regs: " |
140 | "HI 0x%08x, LO 0x%08x\n", readl(ioaddr + GMAC_FRAME_FILTER), | 138 | "HI 0x%08x, LO 0x%08x\n", readl(ioaddr + GMAC_FRAME_FILTER), |
141 | readl(ioaddr + GMAC_HASH_HIGH), readl(ioaddr + GMAC_HASH_LOW)); | 139 | readl(ioaddr + GMAC_HASH_HIGH), readl(ioaddr + GMAC_HASH_LOW)); |
142 | |||
143 | return; | ||
144 | } | 140 | } |
145 | 141 | ||
146 | static void dwmac1000_flow_ctrl(unsigned long ioaddr, unsigned int duplex, | 142 | static void dwmac1000_flow_ctrl(unsigned long ioaddr, unsigned int duplex, |
@@ -164,7 +160,6 @@ static void dwmac1000_flow_ctrl(unsigned long ioaddr, unsigned int duplex, | |||
164 | } | 160 | } |
165 | 161 | ||
166 | writel(flow, ioaddr + GMAC_FLOW_CTRL); | 162 | writel(flow, ioaddr + GMAC_FLOW_CTRL); |
167 | return; | ||
168 | } | 163 | } |
169 | 164 | ||
170 | static void dwmac1000_pmt(unsigned long ioaddr, unsigned long mode) | 165 | static void dwmac1000_pmt(unsigned long ioaddr, unsigned long mode) |
@@ -180,7 +175,6 @@ static void dwmac1000_pmt(unsigned long ioaddr, unsigned long mode) | |||
180 | } | 175 | } |
181 | 176 | ||
182 | writel(pmt, ioaddr + GMAC_PMT); | 177 | writel(pmt, ioaddr + GMAC_PMT); |
183 | return; | ||
184 | } | 178 | } |
185 | 179 | ||
186 | 180 | ||
@@ -204,8 +198,6 @@ static void dwmac1000_irq_status(unsigned long ioaddr) | |||
204 | * status register. */ | 198 | * status register. */ |
205 | readl(ioaddr + GMAC_PMT); | 199 | readl(ioaddr + GMAC_PMT); |
206 | } | 200 | } |
207 | |||
208 | return; | ||
209 | } | 201 | } |
210 | 202 | ||
211 | struct stmmac_ops dwmac1000_ops = { | 203 | struct stmmac_ops dwmac1000_ops = { |