aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorSimon Horman <simon.horman@netronome.com>2015-03-12 22:00:58 -0400
committerDavid S. Miller <davem@davemloft.net>2015-03-12 23:23:16 -0400
commit719a11cdbf57b7bdd6c87ded00fd7cb36a76a6a3 (patch)
treeb9a8fa80ece56a2efa30123f79f8bdaf2b2f67ea /drivers/ide
parent76fecd8275be6de76513430e7526825944ab932f (diff)
vxlan: Don't set s_addr in vxlan_create_sock
In the case of AF_INET s_addr was set to INADDR_ANY (0) which which both symmetric with the AF_INET6 case, where s_addr is not set, and unnecessary as udp_conf is zeroed out earlier in the same function. I suspect this change does not have any run-time effect due to compiler optimisations. But it does make the code a little easier on the/my eyes. Cc: Tom Herbert <therbert@google.com> Signed-off-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions