diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/isdn/gigaset/asyncdata.c | 5 | ||||
-rw-r--r-- | drivers/isdn/gigaset/common.c | 2 | ||||
-rw-r--r-- | drivers/isdn/gigaset/gigaset.h | 1 |
3 files changed, 2 insertions, 6 deletions
diff --git a/drivers/isdn/gigaset/asyncdata.c b/drivers/isdn/gigaset/asyncdata.c index 2a4ce96f04bd..234cc5d53312 100644 --- a/drivers/isdn/gigaset/asyncdata.c +++ b/drivers/isdn/gigaset/asyncdata.c | |||
@@ -174,9 +174,8 @@ byte_stuff: | |||
174 | 174 | ||
175 | if (unlikely(fcs != PPP_GOODFCS)) { | 175 | if (unlikely(fcs != PPP_GOODFCS)) { |
176 | dev_err(cs->dev, | 176 | dev_err(cs->dev, |
177 | "Packet checksum at %lu failed, " | 177 | "Checksum failed, %u bytes corrupted!\n", |
178 | "packet is corrupted (%u bytes)!\n", | 178 | skb->len); |
179 | bcs->rcvbytes, skb->len); | ||
180 | compskb = NULL; | 179 | compskb = NULL; |
181 | gigaset_rcv_error(compskb, cs, bcs); | 180 | gigaset_rcv_error(compskb, cs, bcs); |
182 | error = 1; | 181 | error = 1; |
diff --git a/drivers/isdn/gigaset/common.c b/drivers/isdn/gigaset/common.c index 79c9b0f40f4b..e4141bf8b2f3 100644 --- a/drivers/isdn/gigaset/common.c +++ b/drivers/isdn/gigaset/common.c | |||
@@ -565,8 +565,6 @@ static struct bc_state *gigaset_initbcs(struct bc_state *bcs, | |||
565 | gig_dbg(DEBUG_INIT, "setting up bcs[%d]->at_state", channel); | 565 | gig_dbg(DEBUG_INIT, "setting up bcs[%d]->at_state", channel); |
566 | gigaset_at_init(&bcs->at_state, bcs, cs, -1); | 566 | gigaset_at_init(&bcs->at_state, bcs, cs, -1); |
567 | 567 | ||
568 | bcs->rcvbytes = 0; | ||
569 | |||
570 | #ifdef CONFIG_GIGASET_DEBUG | 568 | #ifdef CONFIG_GIGASET_DEBUG |
571 | bcs->emptycount = 0; | 569 | bcs->emptycount = 0; |
572 | #endif | 570 | #endif |
diff --git a/drivers/isdn/gigaset/gigaset.h b/drivers/isdn/gigaset/gigaset.h index d5f0110a8dfa..a2f6125739eb 100644 --- a/drivers/isdn/gigaset/gigaset.h +++ b/drivers/isdn/gigaset/gigaset.h | |||
@@ -384,7 +384,6 @@ struct bc_state { | |||
384 | int trans_up; /* Counter of packages (upstream) */ | 384 | int trans_up; /* Counter of packages (upstream) */ |
385 | 385 | ||
386 | struct at_state_t at_state; | 386 | struct at_state_t at_state; |
387 | unsigned long rcvbytes; | ||
388 | 387 | ||
389 | __u16 fcs; | 388 | __u16 fcs; |
390 | struct sk_buff *skb; | 389 | struct sk_buff *skb; |