summaryrefslogtreecommitdiff
path: root/net/core/sysctl_net_core.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-25 20:17:30 +0400
committerDavid S. Miller <davem@davemloft.net>2013-06-26 03:33:05 +0400
commit62208f12451f723cd9e9f1d6d22866a61545e488 (patch)
tree95554c56a68e4d64ba431d0e0099adcb461bf76b /net/core/sysctl_net_core.c
parent0a2fbac197441ebeafbbef09d4bbc0b5e73716d7 (diff)
downloadlinux-62208f12451f723cd9e9f1d6d22866a61545e488.tar.xz
net: sctp: simplify sctp_get_port
No need to have an extra ret variable when we directly can return the value of sctp_get_port_local(). Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Acked-by: Vlad Yasevich <vyasevich@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/sysctl_net_core.c')
0 files changed, 0 insertions, 0 deletions