summaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/efx.c
diff options
context:
space:
mode:
authorBen Hutchings2008-09-01 13:47:12 +0200
committerJeff Garzik2008-09-03 15:53:45 +0200
commit4d566063a799231b99d9a21128634ea78b89ab72 (patch)
treeb1d55d0c266b27f2438aec5888abd30c02749e59 /drivers/net/sfc/efx.c
parentsfc: Cleaned up struct tso_state fields (diff)
downloadkernel-qcow2-linux-4d566063a799231b99d9a21128634ea78b89ab72.tar.gz
kernel-qcow2-linux-4d566063a799231b99d9a21128634ea78b89ab72.tar.xz
kernel-qcow2-linux-4d566063a799231b99d9a21128634ea78b89ab72.zip
sfc: Removed forced inlining of long functions
gcc will automatically inline static functions with only one caller, and may inline other functions depending on the kernel configuration and size of the intermediate code. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/sfc/efx.c')
-rw-r--r--drivers/net/sfc/efx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c
index 022dc366c362..9f1ac3a25911 100644
--- a/drivers/net/sfc/efx.c
+++ b/drivers/net/sfc/efx.c
@@ -158,7 +158,7 @@ static void efx_fini_channels(struct efx_nic *efx);
* never be concurrently called more than once on the same channel,
* though different channels may be being processed concurrently.
*/
-static inline int efx_process_channel(struct efx_channel *channel, int rx_quota)
+static int efx_process_channel(struct efx_channel *channel, int rx_quota)
{
int rxdmaqs;
struct efx_rx_queue *rx_queue;