diff options
Diffstat (limited to 'drivers/net/pxa168_eth.c')
-rw-r--r-- | drivers/net/pxa168_eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pxa168_eth.c b/drivers/net/pxa168_eth.c index 1f97db1fc4b1..c1bb05be7a7c 100644 --- a/drivers/net/pxa168_eth.c +++ b/drivers/net/pxa168_eth.c | |||
@@ -502,7 +502,7 @@ static int add_del_hash_entry(struct pxa168_eth_private *pep, | |||
502 | * Pick the appropriate table, start scanning for free/reusable | 502 | * Pick the appropriate table, start scanning for free/reusable |
503 | * entries at the index obtained by hashing the specified MAC address | 503 | * entries at the index obtained by hashing the specified MAC address |
504 | */ | 504 | */ |
505 | start = (struct addr_table_entry *)(pep->htpr); | 505 | start = pep->htpr; |
506 | entry = start + hash_function(mac_addr); | 506 | entry = start + hash_function(mac_addr); |
507 | for (i = 0; i < HOP_NUMBER; i++) { | 507 | for (i = 0; i < HOP_NUMBER; i++) { |
508 | if (!(le32_to_cpu(entry->lo) & HASH_ENTRY_VALID)) { | 508 | if (!(le32_to_cpu(entry->lo) & HASH_ENTRY_VALID)) { |