Joe Perches
a4b770972b
drivers/net: Remove unnecessary returns from void function()s
...
This patch removes from drivers/net/ all the unnecessary
return; statements that precede the last closing brace of
void functions.
It does not remove the returns that are immediately
preceded by a label as gcc doesn't like that.
It also does not remove null void functions with return.
Done via:
$ grep -rP --include=*.[ch] -l "return;\n}" net/ | \
xargs perl -i -e 'local $/ ; while (<>) { s/\n[ \t\n]+return;\n}/\n}/g; print; }'
with some cleanups by hand.
Compile tested x86 allmodconfig only.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-05-14 00:19:28 -07:00
..
2010-05-11 10:07:53 -07:00
2010-05-05 14:48:48 -04:00
2010-04-20 16:37:13 -07:00
2010-03-30 22:02:32 +09:00
2010-04-09 10:05:33 -07:00
2010-05-04 08:48:53 +02:00
2010-05-10 09:34:04 +02:00
2010-04-30 09:20:33 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-24 11:35:21 -07:00
2010-05-09 18:35:36 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-06 08:37:39 -07:00
2010-04-30 10:15:39 -07:00
2010-04-22 12:54:54 -07:00
2010-04-07 11:02:23 -07:00
2010-05-11 17:33:41 -07:00
2010-05-11 17:33:42 -07:00
2010-05-07 23:33:52 +02:00
2010-05-11 17:38:04 -07:00
2010-05-04 11:09:28 +02:00
2010-05-05 14:48:48 -04:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-11 14:53:53 -07:00
2010-05-05 07:53:18 -07:00
2010-04-22 16:12:48 -07:00
2010-03-30 22:02:32 +09:00
2010-04-14 21:43:56 +09:30
2010-04-07 08:38:03 -07:00
2010-05-07 21:10:57 +10:00
2010-05-12 00:05:35 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-24 11:31:26 -07:00
2010-05-11 17:33:41 -07:00
2010-05-05 15:25:12 -04:00
2010-05-14 00:19:28 -07:00
2010-03-30 22:02:32 +09:00
2010-04-28 01:07:29 -06:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-29 17:16:36 -07:00
2010-05-07 14:11:09 -07:00
2010-04-23 15:23:21 -04:00
2010-05-06 22:04:31 -04:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-28 15:24:34 +01:00
2010-04-07 08:38:05 -07:00
2010-05-12 00:05:35 -07:00
2010-03-30 22:02:32 +09:00
2010-05-12 00:05:35 -07:00
2010-04-30 10:16:42 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-28 01:25:43 -06:00
2010-05-05 16:14:16 -04:00
2010-05-12 00:05:35 -07:00
2010-03-30 22:02:32 +09:00
2010-04-07 08:38:03 -07:00
2010-03-30 22:02:32 +09:00
2010-04-30 09:25:12 -07:00
2010-03-30 22:02:32 +09:00
2010-04-14 22:52:46 -07:00
2010-05-11 17:33:42 -07:00
2010-04-22 07:34:05 -07:00
2010-03-30 22:02:32 +09:00
2010-04-24 11:31:25 -07:00
2010-05-03 08:58:56 +00:00
2010-03-30 22:02:32 +09:00
2010-05-07 14:01:17 -07:00