net: Fix compile warning in tcp.c

Warnings fixed in the 3.0 kernel upgrade.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
Stephen Boyd 2013-01-29 17:05:25 -08:00
parent 1afb767969
commit c21df1bfea

View file

@ -3375,9 +3375,9 @@ int tcp_nuke_addr(struct net *net, struct sockaddr *addr)
int family = addr->sa_family;
unsigned int bucket;
struct in_addr *in;
struct in_addr *in = NULL;
#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
struct in6_addr *in6;
struct in6_addr *in6 = NULL;
#endif
if (family == AF_INET) {
in = &((struct sockaddr_in *)addr)->sin_addr;