From: Jiri Benc Date: Sun, 29 Mar 2015 14:59:24 +0000 (+0200) Subject: xfrm: simplify xfrm_address_t use X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~111^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15e318bdc6dfb82914c82fb7ad00badaa8387d8e;p=pandora-kernel.git xfrm: simplify xfrm_address_t use In many places, the a6 field is typecasted to struct in6_addr. As the fields are in union anyway, just add in6_addr type to the union and get rid of the typecasting. Modifying the uapi header is okay, the union has still the same size. Signed-off-by: Jiri Benc Signed-off-by: David S. Miller --- Reading git-diff-tree failed