• Martin Liška's avatar
    eth: sun: cassini: remove dead code · 32329216
    Martin Liška authored
    Fixes the following GCC warning:
    
    drivers/net/ethernet/sun/cassini.c:1316:29: error: comparison between two arrays [-Werror=array-compare]
    drivers/net/ethernet/sun/cassini.c:3783:34: error: comparison between two arrays [-Werror=array-compare]
    
    Note that 2 arrays should be compared by comparing of their addresses:
    note: use ‘&cas_prog_workaroundtab[0] == &cas_prog_null[0]’ to compare the addresses
    Signed-off-by: default avatarMartin Liska <mliska@suse.cz>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    32329216
cassini.c 138 KB