diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-06-16 12:44:42 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-06-16 12:45:46 +0200 |
commit | 66fa12003678512a599fb6f7f753e3f4f512a100 (patch) | |
tree | dbc7259697993caa6f6b207c9a49f79ce3b09fc1 | |
parent | [media] rcar-vin: add Renesas R-Car VIN driver (diff) | |
download | linux-66fa12003678512a599fb6f7f753e3f4f512a100.tar.xz linux-66fa12003678512a599fb6f7f753e3f4f512a100.zip |
[media] rcar-vin: get rid of an unused var
drivers/media/platform/rcar-vin/rcar-core.c: In function 'rvin_graph_notify_complete':
drivers/media/platform/rcar-vin/rcar-core.c:65:22: warning: variable 'sd' set but not used [-Wunused-but-set-variable]
struct v4l2_subdev *sd;
^
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r-- | drivers/media/platform/rcar-vin/rcar-core.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/platform/rcar-vin/rcar-core.c b/drivers/media/platform/rcar-vin/rcar-core.c index 341c0819aed7..4b2007b73463 100644 --- a/drivers/media/platform/rcar-vin/rcar-core.c +++ b/drivers/media/platform/rcar-vin/rcar-core.c @@ -62,12 +62,9 @@ static int rvin_mbus_supported(struct rvin_dev *vin) static int rvin_graph_notify_complete(struct v4l2_async_notifier *notifier) { - struct v4l2_subdev *sd; struct rvin_dev *vin = notifier_to_vin(notifier); int ret; - sd = vin_to_source(vin); - ret = v4l2_device_register_subdev_nodes(&vin->v4l2_dev); if (ret < 0) { vin_err(vin, "Failed to register subdev nodes\n"); |