diff options
Diffstat (limited to 'drivers/net/skfp/hwmtm.c')
-rw-r--r-- | drivers/net/skfp/hwmtm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/skfp/hwmtm.c b/drivers/net/skfp/hwmtm.c index 438f424e6361..8a430a366547 100644 --- a/drivers/net/skfp/hwmtm.c +++ b/drivers/net/skfp/hwmtm.c | |||
@@ -1746,7 +1746,7 @@ static void queue_llc_rx(struct s_smc *smc, SMbuf *mb) | |||
1746 | DB_GEN("queue_llc_rx: mb = %x",(void *)mb,0,4) ; | 1746 | DB_GEN("queue_llc_rx: mb = %x",(void *)mb,0,4) ; |
1747 | smc->os.hwm.queued_rx_frames++ ; | 1747 | smc->os.hwm.queued_rx_frames++ ; |
1748 | mb->sm_next = (SMbuf *)NULL ; | 1748 | mb->sm_next = (SMbuf *)NULL ; |
1749 | if (smc->os.hwm.llc_rx_pipe == 0) { | 1749 | if (smc->os.hwm.llc_rx_pipe == NULL) { |
1750 | smc->os.hwm.llc_rx_pipe = mb ; | 1750 | smc->os.hwm.llc_rx_pipe = mb ; |
1751 | } | 1751 | } |
1752 | else { | 1752 | else { |
@@ -1786,7 +1786,7 @@ static void queue_txd_mb(struct s_smc *smc, SMbuf *mb) | |||
1786 | DB_GEN("_rx: queue_txd_mb = %x",(void *)mb,0,4) ; | 1786 | DB_GEN("_rx: queue_txd_mb = %x",(void *)mb,0,4) ; |
1787 | smc->os.hwm.queued_txd_mb++ ; | 1787 | smc->os.hwm.queued_txd_mb++ ; |
1788 | mb->sm_next = (SMbuf *)NULL ; | 1788 | mb->sm_next = (SMbuf *)NULL ; |
1789 | if (smc->os.hwm.txd_tx_pipe == 0) { | 1789 | if (smc->os.hwm.txd_tx_pipe == NULL) { |
1790 | smc->os.hwm.txd_tx_pipe = mb ; | 1790 | smc->os.hwm.txd_tx_pipe = mb ; |
1791 | } | 1791 | } |
1792 | else { | 1792 | else { |