diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-01-31 12:48:51 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-01-31 12:48:51 +0000 |
commit | 224edd2575503ce96e406c5793c54c12414d5924 (patch) | |
tree | 3c4a400870d9a20674da49afec234297317fc4c3 /target/linux/ramips/files/drivers | |
parent | 8aceaf96be93a92cadbb1058fe065d04805b6af8 (diff) | |
download | upstream-224edd2575503ce96e406c5793c54c12414d5924.tar.gz upstream-224edd2575503ce96e406c5793c54c12414d5924.tar.bz2 upstream-224edd2575503ce96e406c5793c54c12414d5924.zip |
ramips_eth: remove unnecessary typecasts
SVN-Revision: 19445
Diffstat (limited to 'target/linux/ramips/files/drivers')
-rw-r--r-- | target/linux/ramips/files/drivers/net/ramips.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/files/drivers/net/ramips.c b/target/linux/ramips/files/drivers/net/ramips.c index ed748de0d3..34d5b3e69e 100644 --- a/target/linux/ramips/files/drivers/net/ramips.c +++ b/target/linux/ramips/files/drivers/net/ramips.c @@ -241,7 +241,7 @@ ramips_eth_tx_housekeeping(unsigned long ptr) while ((priv->tx[priv->skb_free_idx].txd2 & TX_DMA_DONE) && (priv->tx_skb[priv->skb_free_idx])) { - dev_kfree_skb_irq((struct sk_buff *) priv->tx_skb[priv->skb_free_idx]); + dev_kfree_skb_irq(priv->tx_skb[priv->skb_free_idx]); priv->tx_skb[priv->skb_free_idx] = 0; priv->skb_free_idx++; if (priv->skb_free_idx >= NUM_TX_DESC) @@ -255,7 +255,7 @@ ramips_eth_tx_housekeeping(unsigned long ptr) static int ramips_eth_set_mac_addr(struct net_device *dev, void *priv) { - unsigned char *mac = (unsigned char *) priv; + unsigned char *mac = priv; if (netif_running(dev)) return -EBUSY; |