]> asedeno.scripts.mit.edu Git - linux.git/commit
net: ll_temac: Remove sparse warnings
authorMichal Simek <michal.simek@xilinx.com>
Fri, 5 Jun 2015 08:49:17 +0000 (10:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Jun 2015 22:20:42 +0000 (15:20 -0700)
commit84ea0ded3462c6a75f2f9ff898fa736dcab2d737
tree3de9fa6a4e2bd36fe076ec31a88885feeccf2e6f
parentb80c0e78582d4a3a004dc1ade4eb06babc6a4eea
net: ll_temac: Remove sparse warnings

Remove sparse warnings:
drivers/net/ethernet/xilinx/ll_temac_main.c:65:16: warning: cast removes
address space of expression
drivers/net/ethernet/xilinx/ll_temac_main.c:70:9: warning: cast removes
address space of expression
drivers/net/ethernet/xilinx/ll_temac_main.c:127:16: warning: cast
removes address space of expression
drivers/net/ethernet/xilinx/ll_temac_main.c:137:9: warning: cast removes
address space of expression
drivers/net/ethernet/xilinx/ll_temac_main.c:409:3: warning: symbol
'temac_options' was not declared. Should it be static?
drivers/net/ethernet/xilinx/ll_temac_main.c:590:6: warning: symbol
'temac_adjust_link' was not declared. Should it be static?

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/ll_temac_main.c