aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-02-03 04:45:13 -0500
committerJeff Garzik <jgarzik@pobox.com>2006-02-07 02:51:40 -0500
commit79dc190147f8a87718fe72928d5ceb58e09acdb9 (patch)
treeb15aa21ac0eab7e2bad971c6bdf07c36a85b6d57 /drivers/net
parentfe9313956d67367cc91c5a6989bafc4315801402 (diff)
[PATCH] s2io c99 warning fix
drivers/net/s2io.c: In function `verify_l3_l4_lro_capable': drivers/net/s2io.c:6638: warning: ISO C90 forbids mixed declarations and code Cc: Ravinandan Arakali <Ravinandan.Arakali@neterion.com> Cc: Ananda Raju <Ananda.Raju@neterion.com> Cc: Adrian Bunk <bunk@stusta.de> Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/s2io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c
index e7a9b0d32a18..fcce43c9fed5 100644
--- a/drivers/net/s2io.c
+++ b/drivers/net/s2io.c
@@ -6634,9 +6634,10 @@ static void aggregate_new_rx(lro_t *lro, struct iphdr *ip,
6634static int verify_l3_l4_lro_capable(lro_t *l_lro, struct iphdr *ip, 6634static int verify_l3_l4_lro_capable(lro_t *l_lro, struct iphdr *ip,
6635 struct tcphdr *tcp, u32 tcp_pyld_len) 6635 struct tcphdr *tcp, u32 tcp_pyld_len)
6636{ 6636{
6637 DBG_PRINT(INFO_DBG,"%s: Been here...\n", __FUNCTION__);
6638 u8 *ptr; 6637 u8 *ptr;
6639 6638
6639 DBG_PRINT(INFO_DBG,"%s: Been here...\n", __FUNCTION__);
6640
6640 if (!tcp_pyld_len) { 6641 if (!tcp_pyld_len) {
6641 /* Runt frame or a pure ack */ 6642 /* Runt frame or a pure ack */
6642 return -1; 6643 return -1;