]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
remove nonsense force-casts from ocfs2
authorAl Viro <viro@ftp.linux.org.uk>
Wed, 5 Dec 2007 08:46:47 +0000 (08:46 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 5 Dec 2007 17:25:20 +0000 (09:25 -0800)
commit97bd7919e2c1445dabbcc2686795dbb52316b923
tree6ecbc7331107f61e83bf7c779b2ae36810510d84
parent7e46aa5c8cb1347853de9ec86f3fa440f9dc9d77
remove nonsense force-casts from ocfs2

endianness annotations in networking code had been in place for quite a
while; in particular, sin_port and s_addr are annotated as big-endian.

Code in ocfs2 had __force casts added apparently to shut the sparse
warnings up; of course, these days they only serve to *produce* warnings
for no reason whatsoever...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/cluster/tcp.c