mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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:
parent
1afb767969
commit
c21df1bfea
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue