sh_eth: kill unneeded typecast in sh_eth_drv_probe()
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Thu, 21 Mar 2013 10:39:22 +0000 (10:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Mar 2013 21:20:54 +0000 (17:20 -0400)
commit564044b0928d46a87774c246ae80cb3cead9264d
tree22e8191cf97f0453c47577bb131f1f96d7001aa3
parentdfed5e7fb4ec946694cad7400d75c44f3bb7f645
sh_eth: kill unneeded typecast in sh_eth_drv_probe()

sh_eth_drv_probe() does cast from 'void *' when assigning to the 'pd'  variable
which is automatic anyway. Turn the assignment into initializer, while removing
the cast...

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c