diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2013-03-21 10:39:22 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-21 17:20:54 -0400 |
commit | 564044b0928d46a87774c246ae80cb3cead9264d (patch) | |
tree | 22e8191cf97f0453c47577bb131f1f96d7001aa3 /drivers/net/ethernet/renesas/sh_eth.h | |
parent | dfed5e7fb4ec946694cad7400d75c44f3bb7f645 (diff) | |
download | op-kernel-dev-564044b0928d46a87774c246ae80cb3cead9264d.zip op-kernel-dev-564044b0928d46a87774c246ae80cb3cead9264d.tar.gz |
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>
Diffstat (limited to 'drivers/net/ethernet/renesas/sh_eth.h')
0 files changed, 0 insertions, 0 deletions