OSDN Git Service

can: janz-ican3: remove dead code
authorIra W. Snyder <iws@ovro.caltech.edu>
Wed, 18 Jul 2012 22:33:13 +0000 (15:33 -0700)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 20 Jul 2012 10:31:06 +0000 (12:31 +0200)
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>
drivers/net/can/janz-ican3.c

index e7d1532..f41623d 100644 (file)
@@ -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));