summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/janz-ican3.c
diff options
context:
space:
mode:
authorIra W. Snyder <iws@ovro.caltech.edu>2012-07-19 00:33:13 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2012-07-20 12:31:06 +0200
commit8456a9196f7696421eecffdbab5d785f852d95e8 (patch)
tree09fac9b273387bc1e777962d310b71a465d08150 /drivers/net/can/janz-ican3.c
parentcan: flexcan: add 2nd clock to support imx53 and newer (diff)
downloadlinux-8456a9196f7696421eecffdbab5d785f852d95e8.tar.xz
linux-8456a9196f7696421eecffdbab5d785f852d95e8.zip
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>
Diffstat (limited to 'drivers/net/can/janz-ican3.c')
-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 {
/* fast host interface */
unsigned int fastrx_start;
- unsigned int fastrx_int;
unsigned int fastrx_num;
unsigned int fasttx_start;
unsigned int fasttx_num;
@@ -454,7 +453,6 @@ static void __devinit ican3_init_fast_host_interface(struct ican3_dev *mod)
/* save the start recv page */
mod->fastrx_start = mod->free_page;
mod->fastrx_num = 0;
- mod->fastrx_int = 0;
/* build a single fast tohost queue descriptor */
memset(&desc, 0, sizeof(desc));