diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2008-09-01 12:47:12 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-03 09:53:45 -0400 |
commit | 4d566063a799231b99d9a21128634ea78b89ab72 (patch) | |
tree | b1d55d0c266b27f2438aec5888abd30c02749e59 /drivers/net/sfc/efx.c | |
parent | 23d9e60b1ddc67ffedd77161ecff4895708088a4 (diff) | |
download | op-kernel-dev-4d566063a799231b99d9a21128634ea78b89ab72.zip op-kernel-dev-4d566063a799231b99d9a21128634ea78b89ab72.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c index 022dc36..9f1ac3a 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; |