From: Daniel Borkmann Date: Thu, 1 May 2014 16:34:20 +0000 (+0200) Subject: net: filter: misc/various cleanups X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~282^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb9672f4a14bb7058c44efcc31c89737a7724d2c;p=pandora-kernel.git net: filter: misc/various cleanups This contains only some minor misc cleanpus. We can spare us the extra variable declaration in __skb_get_pay_offset(), the cast in __get_random_u32() is rather unnecessary and in __sk_migrate_realloc() we can remove the memcpy() and do a direct assignment of the structs. Latter was suggested by Fengguang Wu found with coccinelle. Also, remaining pointer casts of long should be unsigned long instead. Suggested-by: Fengguang Wu Signed-off-by: Daniel Borkmann Acked-by: Alexei Starovoitov Signed-off-by: David S. Miller --- Reading git-diff-tree failed