diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2008-09-01 07:47:12 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-03 09:53:45 -0400 |
commit | 4d566063a799231b99d9a21128634ea78b89ab72 (patch) | |
tree | b1d55d0c266b27f2438aec5888abd30c02749e59 /drivers/net/sfc/falcon.c | |
parent | 23d9e60b1ddc67ffedd77161ecff4895708088a4 (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/falcon.c')
-rw-r--r-- | drivers/net/sfc/falcon.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/sfc/falcon.c b/drivers/net/sfc/falcon.c index fb069712222f..9a13e5c8c9f3 100644 --- a/drivers/net/sfc/falcon.c +++ b/drivers/net/sfc/falcon.c | |||
@@ -815,8 +815,8 @@ void falcon_generate_event(struct efx_channel *channel, efx_qword_t *event) | |||
815 | * Falcon batches TX completion events; the message we receive is of | 815 | * Falcon batches TX completion events; the message we receive is of |
816 | * the form "complete all TX events up to this index". | 816 | * the form "complete all TX events up to this index". |
817 | */ | 817 | */ |
818 | static inline void falcon_handle_tx_event(struct efx_channel *channel, | 818 | static void falcon_handle_tx_event(struct efx_channel *channel, |
819 | efx_qword_t *event) | 819 | efx_qword_t *event) |
820 | { | 820 | { |
821 | unsigned int tx_ev_desc_ptr; | 821 | unsigned int tx_ev_desc_ptr; |
822 | unsigned int tx_ev_q_label; | 822 | unsigned int tx_ev_q_label; |
@@ -952,8 +952,8 @@ static void falcon_handle_rx_bad_index(struct efx_rx_queue *rx_queue, | |||
952 | * Also "is multicast" and "matches multicast filter" flags can be used to | 952 | * Also "is multicast" and "matches multicast filter" flags can be used to |
953 | * discard non-matching multicast packets. | 953 | * discard non-matching multicast packets. |
954 | */ | 954 | */ |
955 | static inline int falcon_handle_rx_event(struct efx_channel *channel, | 955 | static int falcon_handle_rx_event(struct efx_channel *channel, |
956 | const efx_qword_t *event) | 956 | const efx_qword_t *event) |
957 | { | 957 | { |
958 | unsigned int rx_ev_q_label, rx_ev_desc_ptr, rx_ev_byte_cnt; | 958 | unsigned int rx_ev_q_label, rx_ev_desc_ptr, rx_ev_byte_cnt; |
959 | unsigned int rx_ev_hdr_type, rx_ev_mcast_pkt; | 959 | unsigned int rx_ev_hdr_type, rx_ev_mcast_pkt; |