can: flexcan: remove unused variable

This patch removes the unused variable "struct net_device *dev" from the
"struct flexcan_priv".

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
Marc Kleine-Budde 2014-11-27 21:28:17 +01:00
parent 5b5ba2af82
commit 3673796808
1 changed files with 0 additions and 2 deletions

View File

@ -247,7 +247,6 @@ struct flexcan_devtype_data {
struct flexcan_priv { struct flexcan_priv {
struct can_priv can; struct can_priv can;
struct net_device *dev;
struct napi_struct napi; struct napi_struct napi;
void __iomem *base; void __iomem *base;
@ -1220,7 +1219,6 @@ static int flexcan_probe(struct platform_device *pdev)
CAN_CTRLMODE_LISTENONLY | CAN_CTRLMODE_3_SAMPLES | CAN_CTRLMODE_LISTENONLY | CAN_CTRLMODE_3_SAMPLES |
CAN_CTRLMODE_BERR_REPORTING; CAN_CTRLMODE_BERR_REPORTING;
priv->base = base; priv->base = base;
priv->dev = dev;
priv->clk_ipg = clk_ipg; priv->clk_ipg = clk_ipg;
priv->clk_per = clk_per; priv->clk_per = clk_per;
priv->pdata = dev_get_platdata(&pdev->dev); priv->pdata = dev_get_platdata(&pdev->dev);