[PATCH] kill eth_io_copy_and_sum()
On all targets that sucker boils down to memcpy_fromio(sbk->data, from, len). The function name is highly misguiding (it _never_ does any checksums), the last argument is just a noise and simply expanding the call to memcpy_fromio() gives shorter and more readable source. For a lot of reasons it has almost no remaining users, so it's better to just outright kill it. Signed-off-by:Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- drivers/net/3c503.c 1 addition, 2 deletionsdrivers/net/3c503.c
- drivers/net/ac3200.c 1 addition, 2 deletionsdrivers/net/ac3200.c
- drivers/net/e2100.c 1 addition, 2 deletionsdrivers/net/e2100.c
- drivers/net/es3210.c 1 addition, 1 deletiondrivers/net/es3210.c
- drivers/net/smc-mca.c 1 addition, 2 deletionsdrivers/net/smc-mca.c
- drivers/net/smc-ultra.c 1 addition, 2 deletionsdrivers/net/smc-ultra.c
- drivers/net/smc-ultra32.c 1 addition, 2 deletionsdrivers/net/smc-ultra32.c
- drivers/net/wd.c 1 addition, 1 deletiondrivers/net/wd.c
- include/asm-alpha/io.h 0 additions, 9 deletionsinclude/asm-alpha/io.h
- include/asm-arm/arch-ixp4xx/io.h 0 additions, 3 deletionsinclude/asm-arm/arch-ixp4xx/io.h
- include/asm-arm/io.h 0 additions, 5 deletionsinclude/asm-arm/io.h
- include/asm-cris/io.h 0 additions, 5 deletionsinclude/asm-cris/io.h
- include/asm-i386/io.h 0 additions, 6 deletionsinclude/asm-i386/io.h
- include/asm-mips/io.h 0 additions, 6 deletionsinclude/asm-mips/io.h
- include/asm-parisc/io.h 0 additions, 9 deletionsinclude/asm-parisc/io.h
- include/asm-ppc/io.h 0 additions, 2 deletionsinclude/asm-ppc/io.h
- include/asm-x86_64/io.h 0 additions, 6 deletionsinclude/asm-x86_64/io.h
Loading
Please register or sign in to comment