diff options
| author | 2014-05-01 18:34:20 +0200 | |
|---|---|---|
| committer | 2014-05-04 19:46:31 -0400 | |
| commit | eb9672f4a14bb7058c44efcc31c89737a7724d2c (patch) | |
| tree | b2104426cf8f08c861f86c49b76e60ab1dc6f691 /include/linux/dynamic_queue_limits.h | |
| parent | net: filter: make register naming more comprehensible (diff) | |
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 'include/linux/dynamic_queue_limits.h')
0 files changed, 0 insertions, 0 deletions
