diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-09-01 19:25:04 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-02 01:03:49 -0700 |
commit | 3b401a81c0d50ea9c718cf837f62cc2e6e79cc30 (patch) | |
tree | cfb386a92521ae614fc8d76932461f26d14e9fa3 /net/dccp/ipv4.c | |
parent | b2e4b3debc327a5b53d9622e0b1785eea2ea2aad (diff) | |
download | linux-stable-3b401a81c0d50ea9c718cf837f62cc2e6e79cc30.tar.gz linux-stable-3b401a81c0d50ea9c718cf837f62cc2e6e79cc30.tar.bz2 linux-stable-3b401a81c0d50ea9c718cf837f62cc2e6e79cc30.zip |
inet: inet_connection_sock_af_ops const
The function block inet_connect_sock_af_ops contains no data
make it constant.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/ipv4.c')
-rw-r--r-- | net/dccp/ipv4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index a0a36c9e6cce..d01c00de1ad0 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c @@ -880,7 +880,7 @@ discard_and_relse: goto discard_it; } -static struct inet_connection_sock_af_ops dccp_ipv4_af_ops = { +static const struct inet_connection_sock_af_ops dccp_ipv4_af_ops = { .queue_xmit = ip_queue_xmit, .send_check = dccp_v4_send_check, .rebuild_header = inet_sk_rebuild_header, |