Nicolas de Pesloüan
38fc0026da
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 <nicolas.2p.debian@free.fr >
Reported-by: Rakib Mullick <rakib.mullick@gmail.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2009-10-13 00:45:06 -07:00
..
2009-10-04 15:03:00 -07:00
2009-09-12 12:01:34 +01:00
2009-09-21 15:15:53 +02:00
2009-09-30 16:12:20 -07:00
2009-09-22 07:17:27 -07:00
2009-10-04 12:39:14 -07:00
2009-09-15 10:17:16 -07:00
2009-09-24 07:21:04 -07:00
2009-10-04 15:05:10 -07:00
2009-08-15 12:58:45 +09:00
2009-10-06 01:39:51 -07:00
2009-09-18 09:16:57 -07:00
2009-09-22 07:17:45 -07:00
2009-08-13 11:51:51 +10:00
2009-09-13 10:27:04 -07:00
2009-09-23 18:31:11 +10:00
2009-09-24 07:21:05 -07:00
2009-06-16 19:50:13 -07:00
2009-10-04 15:05:10 -07:00
2009-09-22 07:17:38 -07:00
2009-10-01 16:11:11 -07:00
2009-09-30 08:03:00 -07:00
2009-10-04 15:05:10 -07:00
2009-10-04 22:53:42 +02:00
2009-10-04 22:53:45 +02:00
2009-09-23 09:32:11 -07:00
2009-09-08 17:30:24 -07:00
2009-09-27 11:39:25 -07:00
2009-09-01 01:14:07 -07:00
2009-10-05 00:10:10 -07:00
2009-10-04 15:05:10 -07:00
2009-10-07 01:10:46 -07:00
2009-10-04 22:53:43 +02:00
2009-10-01 16:11:11 -07:00
2009-10-04 22:53:46 +02:00
2009-10-04 12:39:14 -07:00
2009-10-04 15:05:10 -07:00
2009-09-24 07:21:05 -07:00
2009-09-22 07:51:45 -07:00
2009-10-04 15:05:10 -07:00
2009-10-04 22:53:41 +02:00
2009-10-02 16:20:43 -07:00
2009-10-01 21:19:30 +02:00
2009-10-13 00:45:06 -07:00
2009-09-23 07:39:43 -07:00
2009-09-24 09:34:24 +09:30
2009-09-22 07:17:38 -07:00
2009-09-24 07:21:04 -07:00
2009-09-25 14:24:22 -04:00
2009-10-02 16:20:43 -07:00
2009-10-02 11:27:57 -04:00
2009-09-25 15:09:48 -04:00
2009-09-23 03:49:27 +04:00
2009-08-26 20:06:52 -07:00
2009-09-11 11:28:00 +10:00
2009-06-15 21:45:32 -05:00
2009-09-22 13:58:23 +01:00
2009-09-24 21:22:33 +01:00
2009-10-05 00:10:09 -07:00
2009-09-22 07:17:25 -07:00
2009-10-01 16:11:11 -07:00
2009-10-06 22:43:16 -07:00
2009-10-03 01:16:12 -04:00
2009-08-31 15:15:33 +09:00
2009-10-01 16:11:17 -07:00
2009-09-23 11:35:41 -04:00
2009-10-07 16:39:43 -04:00
2009-07-12 12:22:34 -07:00
2009-09-19 01:41:49 -04:00
2009-09-27 11:39:25 -07:00
2009-10-04 15:05:10 -07:00
2009-10-01 16:11:11 -07:00
2009-10-02 13:37:18 -07:00
2009-09-23 22:26:32 +09:30
2009-09-24 07:21:05 -07:00
2009-10-04 22:53:41 +02:00
2009-09-25 08:38:16 +00:00
2009-10-04 15:05:10 -07:00
2009-06-18 13:04:04 -07:00
2009-09-23 10:07:49 -07:00