aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIra W. Snyder <iws@ovro.caltech.edu>2012-07-18 18:33:13 -0400
committerMarc Kleine-Budde <mkl@pengutronix.de>2012-07-20 06:31:06 -0400
commit8456a9196f7696421eecffdbab5d785f852d95e8 (patch)
tree09fac9b273387bc1e777962d310b71a465d08150
parent3d42a379b6fa5b46058e3302b1802b29f64865bb (diff)
can: janz-ican3: remove dead code
The code which used this variable was removed during review, before the driver was added to mainline Linux. It is now dead code, and can be removed. Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r--drivers/net/can/janz-ican3.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/can/janz-ican3.c b/drivers/net/can/janz-ican3.c
index e7d1532d5f1b..f41623d003e1 100644
--- a/drivers/net/can/janz-ican3.c
+++ b/drivers/net/can/janz-ican3.c
@@ -235,7 +235,6 @@ struct ican3_dev {
235 235
236 /* fast host interface */ 236 /* fast host interface */
237 unsigned int fastrx_start; 237 unsigned int fastrx_start;
238 unsigned int fastrx_int;
239 unsigned int fastrx_num; 238 unsigned int fastrx_num;
240 unsigned int fasttx_start; 239 unsigned int fasttx_start;
241 unsigned int fasttx_num; 240 unsigned int fasttx_num;
@@ -454,7 +453,6 @@ static void __devinit ican3_init_fast_host_interface(struct ican3_dev *mod)
454 /* save the start recv page */ 453 /* save the start recv page */
455 mod->fastrx_start = mod->free_page; 454 mod->fastrx_start = mod->free_page;
456 mod->fastrx_num = 0; 455 mod->fastrx_num = 0;
457 mod->fastrx_int = 0;
458 456
459 /* build a single fast tohost queue descriptor */ 457 /* build a single fast tohost queue descriptor */
460 memset(&desc, 0, sizeof(desc)); 458 memset(&desc, 0, sizeof(desc));