aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/skfp
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-01-24 05:06:46 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:07:12 -0500
commit79ea13ce07c951bb4d95471e7300baa0f1be9e78 (patch)
treec0ea320464201854c5d3a222e2dd0d10ae22c95f /drivers/net/skfp
parent3e18826c73735eee5fca92584137824d9a387008 (diff)
NULL noise in drivers/net
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/skfp')
-rw-r--r--drivers/net/skfp/hwmtm.c4
-rw-r--r--drivers/net/skfp/smt.c2
2 files changed, 3 insertions, 3 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 {
diff --git a/drivers/net/skfp/smt.c b/drivers/net/skfp/smt.c
index ced2c8f76be7..ffbfb1b79f97 100644
--- a/drivers/net/skfp/smt.c
+++ b/drivers/net/skfp/smt.c
@@ -712,7 +712,7 @@ void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs)
712 smc->mib.priv.fddiPRIVECF_Reply_Rx++ ; 712 smc->mib.priv.fddiPRIVECF_Reply_Rx++ ;
713 DB_SMT("SMT: received ECF reply from %s\n", 713 DB_SMT("SMT: received ECF reply from %s\n",
714 addr_to_string(&sm->smt_source),0) ; 714 addr_to_string(&sm->smt_source),0) ;
715 if (sm_to_para(smc,sm,SMT_P_ECHODATA) == 0) { 715 if (sm_to_para(smc,sm,SMT_P_ECHODATA) == NULL) {
716 DB_SMT("SMT: ECHODATA missing\n",0,0) ; 716 DB_SMT("SMT: ECHODATA missing\n",0,0) ;
717 break ; 717 break ;
718 } 718 }