net/rfkill/core.c: work around gcc-4.0.2 silliness
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 4 Dec 2009 04:45:07 +0000 (20:45 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Dec 2009 21:51:23 +0000 (16:51 -0500)
commit02f7f1793023bd8e5e277ad349f6f43f8c284fb0
tree20ddc6990b49b2bdae0bf6c324348922e1c30201
parent16cec43da50c4b4702653ca710549fd3457a4e6c
net/rfkill/core.c: work around gcc-4.0.2 silliness

net/rfkill/core.c: In function 'rfkill_type_show':
net/rfkill/core.c:610: warning: control may reach end of non-void function 'rfkill_get_type_str' being inlined

A gcc bug, but simple enough to squish.

Cc: John W. Linville <linville@tuxdriver.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/rfkill/core.c