summaryrefslogtreecommitdiffstats
path: root/drivers/net/can
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2014-11-27 21:28:17 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2015-01-21 22:47:44 +0100
commitef186f25fdf00d92c6bd5d3301fc0ee44f17ca33 (patch)
treec3cabf966eb3ba8fb915c4234926fa6e8c85b1ad /drivers/net/can
parent3673796808099abb25de5eb2bd586427dfdad439 (diff)
downloadop-kernel-dev-ef186f25fdf00d92c6bd5d3301fc0ee44f17ca33.zip
op-kernel-dev-ef186f25fdf00d92c6bd5d3301fc0ee44f17ca33.tar.gz
can: at91_can: remove unused variable
This patch removes the unused variable "struct net_device *dev" from the "struct at91_priv". Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can')
-rw-r--r--drivers/net/can/at91_can.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/can/at91_can.c b/drivers/net/can/at91_can.c
index d0c2463..eeb4b8b 100644
--- a/drivers/net/can/at91_can.c
+++ b/drivers/net/can/at91_can.c
@@ -138,7 +138,6 @@ struct at91_devtype_data {
struct at91_priv {
struct can_priv can; /* must be the first member! */
- struct net_device *dev;
struct napi_struct napi;
void __iomem *reg_base;
@@ -1350,7 +1349,6 @@ static int at91_can_probe(struct platform_device *pdev)
priv->can.do_get_berr_counter = at91_get_berr_counter;
priv->can.ctrlmode_supported = CAN_CTRLMODE_3_SAMPLES |
CAN_CTRLMODE_LISTENONLY;
- priv->dev = dev;
priv->reg_base = addr;
priv->devtype_data = *devtype_data;
priv->clk = clk;
OpenPOWER on IntegriCloud