diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2014-05-01 16:34:20 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-04 23:46:31 (GMT) |
commit | eb9672f4a14bb7058c44efcc31c89737a7724d2c (patch) | |
tree | b2104426cf8f08c861f86c49b76e60ab1dc6f691 /Documentation/aoe | |
parent | 30743837dd204d2b04fd4e9d3db78cc7b118c81a (diff) | |
download | linux-eb9672f4a14bb7058c44efcc31c89737a7724d2c.tar.xz |
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 <fengguang.wu@intel.com>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/aoe')
0 files changed, 0 insertions, 0 deletions