aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/gigaset/asyncdata.c
diff options
context:
space:
mode:
authorTilman Schmidt <tilman@imap.cc>2009-05-13 08:44:18 -0400
committerDavid S. Miller <davem@davemloft.net>2009-05-17 23:51:28 -0400
commit0a305720ee597aad41af61e6b6844321d3e24251 (patch)
treee1681bb3ae4f60e9aac3650469ffc13cb6743839 /drivers/isdn/gigaset/asyncdata.c
parentb88bd95655c7bc059606529e01467594978d7b72 (diff)
gigaset: remove unused structure member rcvbytes
The B channel data structure member rcvbytes was never set to anything else but zero, so drop it. Impact: cleanup Signed-off-by: Tilman Schmidt <tilman@imap.cc> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/gigaset/asyncdata.c')
-rw-r--r--drivers/isdn/gigaset/asyncdata.c5
1 files changed, 2 insertions, 3 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;