diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-14 21:14:53 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-02 21:23:01 -0800 |
commit | 9be259aae5264511fe0a8b5e3d6711e0fd1d55df (patch) | |
tree | d424fd156edc0568a1d47b9322b1159202be109b /arch/cris/arch-v10/lib/old_checksum.c | |
parent | 2bc357987a6510e61d33f3b20fa989fb2b6a10b8 (diff) | |
download | lwn-9be259aae5264511fe0a8b5e3d6711e0fd1d55df.tar.gz lwn-9be259aae5264511fe0a8b5e3d6711e0fd1d55df.zip |
[NET]: Alpha checksum annotations and cleanups.
* sanitize prototypes and annotate
* kill useless access_ok() in csum_partial_copy_from_user() (the only
caller checks it already).
* do_csum_partial_copy_from_user() is not needed now
* replace htons(len) with len << 8 - they are the same wrt checksums
on little-endian.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/cris/arch-v10/lib/old_checksum.c')
0 files changed, 0 insertions, 0 deletions