• Hannes Eder's avatar
    drivers/net/tokenring: fix sparse warning: symbol shadows an earlier one · 05076c18
    Hannes Eder authored
    Impact: Remove redundant variables.
    
    Fix this sparse warnings:
      drivers/net/tokenring/lanstreamer.c:619:21: warning: symbol 'i' shadows an earlier one
      drivers/net/tokenring/lanstreamer.c:589:13: originally declared here
      drivers/net/tokenring/madgemc.c:695:34: warning: symbol 'tp' shadows an earlier one
      drivers/net/tokenring/madgemc.c:689:26: originally declared here
      drivers/net/tokenring/olympic.c:702:21: warning: symbol 'i' shadows an earlier one
      drivers/net/tokenring/olympic.c:440:13: originally declared here
    Signed-off-by: default avatarHannes Eder <hannes@hanneseder.net>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    05076c18
lanstreamer.c 63 KB