aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorNicolas de Pesloüan <[email protected]>2009-10-13 07:45:06 +0000
committerDavid S. Miller <[email protected]>2009-10-13 07:45:06 +0000
commit38fc0026da255aa328c3730a1c4d28b4e11e6a2b (patch)
treec8da3b33e6f62107ecbde43f33f724ae1cf5a7bb /net/ipv4/tcp_ipv4.c
parentsfc: 10Xpress: Initialise pause advertising flags (diff)
downloadkernel-38fc0026da255aa328c3730a1c4d28b4e11e6a2b.tar.gz
kernel-38fc0026da255aa328c3730a1c4d28b4e11e6a2b.zip
bonding: change bond_create_proc_entry() to return void
The function bond_create_proc_entry is currently of type int. Two versions of this function exist: The one in the ifdef CONFIG_PROC_FS branch always return 0. The one in the else branch (which is empty) return nothing. When CONFIG_PROC_FS is undef, this cause the following warning: drivers/net/bonding/bond_main.c: In function `bond_create_proc_entry': drivers/net/bonding/bond_main.c:3393: warning: control reaches end of non-void function No caller of this function use the returned value. So change the returned type from int to void and remove the useless return 0; . Signed-off-by: Nicolas de Pesloüan <[email protected]> Reported-by: Rakib Mullick <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions