[netdrvr] uninline atl1e_setup_mac_ctrl()
authorAdrian Bunk <bunk@kernel.org>
Fri, 8 Aug 2008 18:33:34 +0000 (21:33 +0300)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 14 Aug 2008 08:43:40 +0000 (04:43 -0400)
commit1595ab5d7d99bc6c9a5548ab3fb83e278eeae409
tree5392d4ea2ca259ee19b90fb01b3c8e465f767349
parent11d89d639352ef27bb3f0e7513dd406284bf034a
[netdrvr] uninline atl1e_setup_mac_ctrl()

There doesn't seem to be a compelling reason why atl1e_setup_mac_ctrl()
is marked as "inline":

It's not used in any place where speed would matter much, and as long as
it has only one caller non-ancient gcc versions anyway inline it
automatically.

This patch fixes the following compile error with gcc 3.4:

<--  snip  -->

...
  CC      drivers/net/atl1e/atl1e_main.o
atl1e_main.c: In function `atl1e_check_link':
atl1e_main.c:50: sorry, unimplemented: inlining failed in call to
atl1e_main.c:196: sorry, unimplemented: called from here
make[4]: *** [drivers/net/atl1e/atl1e_main.o] Error 1

<--  snip  -->

Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/atl1e/atl1e_main.c