projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b5ba2a
)
can: flexcan: remove unused variable
author
Marc Kleine-Budde
<mkl@pengutronix.de>
Thu, 27 Nov 2014 20:28:17 +0000
(21:28 +0100)
committer
Marc Kleine-Budde
<mkl@pengutronix.de>
Wed, 21 Jan 2015 21:47:44 +0000
(22:47 +0100)
This patch removes the unused variable "struct net_device *dev" from the
"struct flexcan_priv".
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/can/flexcan.c
b/drivers/net/can/flexcan.c
index b1d583ba967482f4039af3c372cf9df46d229248..80c46ad4cee439d2015b3ee7de66d578f54afd0b 100644
(file)
--- a/
drivers/net/can/flexcan.c
+++ b/
drivers/net/can/flexcan.c
@@
-247,7
+247,6
@@
struct flexcan_devtype_data {
struct flexcan_priv {
struct can_priv can;
- struct net_device *dev;
struct napi_struct napi;
void __iomem *base;
@@
-1220,7
+1219,6
@@
static int flexcan_probe(struct platform_device *pdev)
CAN_CTRLMODE_LISTENONLY | CAN_CTRLMODE_3_SAMPLES |
CAN_CTRLMODE_BERR_REPORTING;
priv->base = base;
- priv->dev = dev;
priv->clk_ipg = clk_ipg;
priv->clk_per = clk_per;
priv->pdata = dev_get_platdata(&pdev->dev);