aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/efx.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2008-09-01 07:47:12 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-09-03 09:53:45 -0400
commit4d566063a799231b99d9a21128634ea78b89ab72 (patch)
treeb1d55d0c266b27f2438aec5888abd30c02749e59 /drivers/net/sfc/efx.c
parent23d9e60b1ddc67ffedd77161ecff4895708088a4 (diff)
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);
158 * never be concurrently called more than once on the same channel, 158 * never be concurrently called more than once on the same channel,
159 * though different channels may be being processed concurrently. 159 * though different channels may be being processed concurrently.
160 */ 160 */
161static inline int efx_process_channel(struct efx_channel *channel, int rx_quota) 161static int efx_process_channel(struct efx_channel *channel, int rx_quota)
162{ 162{
163 int rxdmaqs; 163 int rxdmaqs;
164 struct efx_rx_queue *rx_queue; 164 struct efx_rx_queue *rx_queue;