mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-03 18:29:36 +00:00
[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>
This commit is contained in:
parent
fe9313956d
commit
79dc190147
1 changed files with 2 additions and 1 deletions
|
@ -6634,9 +6634,10 @@ static void aggregate_new_rx(lro_t *lro, struct iphdr *ip,
|
||||||
static int verify_l3_l4_lro_capable(lro_t *l_lro, struct iphdr *ip,
|
static int verify_l3_l4_lro_capable(lro_t *l_lro, struct iphdr *ip,
|
||||||
struct tcphdr *tcp, u32 tcp_pyld_len)
|
struct tcphdr *tcp, u32 tcp_pyld_len)
|
||||||
{
|
{
|
||||||
DBG_PRINT(INFO_DBG,"%s: Been here...\n", __FUNCTION__);
|
|
||||||
u8 *ptr;
|
u8 *ptr;
|
||||||
|
|
||||||
|
DBG_PRINT(INFO_DBG,"%s: Been here...\n", __FUNCTION__);
|
||||||
|
|
||||||
if (!tcp_pyld_len) {
|
if (!tcp_pyld_len) {
|
||||||
/* Runt frame or a pure ack */
|
/* Runt frame or a pure ack */
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in a new issue