]> git.baikalelectronics.ru Git - 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)
commit5a363a861e7da7a642bae1015129410f41ddf68f
tree6ecbc7331107f61e83bf7c779b2ae36810510d84
parent692379fb7f266c9ad56776dab4a4289e950f066c
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