]> git.baikalelectronics.ru Git - kernel.git/commit
uninline atl1e_setup_mac_ctrl()
authorAdrian Bunk <bunk@kernel.org>
Fri, 8 Aug 2008 18:33:34 +0000 (21:33 +0300)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 9 Aug 2008 18:15:13 +0000 (11:15 -0700)
commit9eb6f0f1e6568b6572a22766a061f6d9221dfbc7
tree595734fd1b02cb1326c896b822f23f7af7c501f9
parent7f0a5c411ec7d81f5a89fa8ec9cb180afa1e1237
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:

    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

Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/atl1e/atl1e_main.c