Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141095
b: refs/heads/master
c: a0a1cbe
h: refs/heads/master
i:
  141093: db4c329
  141091: 1571834
  141087: bcd61a9
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Apr 3, 2009
1 parent bb5b6db commit f6fcd7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 04ac01caa68aca58347ff91354fc4851c9d619e9
refs/heads/master: a0a1cbef8667c410d5118716ce293af1a384107f
8 changes: 3 additions & 5 deletions trunk/drivers/staging/slicoss/slicoss.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
#define DEBUG_MICROCODE 1
#define DBG 1
#define SLIC_ASSERT_ENABLED 1
#define SLIC_PING_TIMER_ENABLED 1
#define SLIC_INTERRUPT_PROCESS_LIMIT 1
#define SLIC_OFFLOAD_IP_CHECKSUM 1
#define STATS_TIMER_INTERVAL 2
Expand Down Expand Up @@ -1392,13 +1391,13 @@ static void slic_init_cleanup(struct adapter *adapter)
adapter->pshmem = NULL;
adapter->phys_shmem = (dma_addr_t) NULL;
}
#if SLIC_PING_TIMER_ENABLED

if (adapter->pingtimerset) {
DBG_MSG("pingtimer ");
adapter->pingtimerset = 0;
del_timer(&adapter->pingtimer);
}
#endif

slic_rspqueue_free(adapter);
slic_cmdq_free(adapter);
slic_rcvqueue_free(adapter);
Expand Down Expand Up @@ -1752,7 +1751,7 @@ static int slic_if_init(struct adapter *adapter)

card->loadtimerset = 1;
}
#if SLIC_PING_TIMER_ENABLED

if (!adapter->pingtimerset) {
DBG_MSG("slicoss: %s start card_ping_timer(slic)\n",
__func__);
Expand All @@ -1765,7 +1764,6 @@ static int slic_if_init(struct adapter *adapter)
adapter->pingtimerset = 1;
adapter->card->pingstatus = ISR_PINGMASK;
}
#endif

/*
* clear any pending events, then enable interrupts
Expand Down

0 comments on commit f6fcd7f

Please sign in to comment.