net: esp{4,6}: get rid of struct esp_data
authorMathias Krause <mathias.krause@secunet.com>
Fri, 18 Oct 2013 10:09:05 +0000 (12:09 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Tue, 29 Oct 2013 05:39:42 +0000 (06:39 +0100)
commit1c5ad13f7c2b2afe30e43858d04fff979dc9d243
treefc68ea62c7d59c08b464ad47daea13db0adf1484
parent123b0d1ba0a98ef12550d82b79ccb8d89090f871
net: esp{4,6}: get rid of struct esp_data

struct esp_data consists of a single pointer, vanishing the need for it
to be a structure. Fold the pointer into 'data' direcly, removing one
level of pointer indirection.

Signed-off-by: Mathias Krause <mathias.krause@secunet.com>
Cc: Steffen Klassert <steffen.klassert@secunet.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/net/esp.h
net/ipv4/esp4.c
net/ipv6/esp6.c