From 3fb246476f8c0556747301ba7497f135068225a8 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Wed, 24 Nov 2021 11:27:22 +0000 Subject: [PATCH] media: radio-si476x: drop a container_of() abstraction macro This isn't used anywhere. So, drop it. Reviewed-by: Nathan Chancellor Signed-off-by: Mauro Carvalho Chehab --- drivers/media/radio/radio-si476x.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/media/radio/radio-si476x.c b/drivers/media/radio/radio-si476x.c index b39a68f..0bf99e1 100644 --- a/drivers/media/radio/radio-si476x.c +++ b/drivers/media/radio/radio-si476x.c @@ -313,12 +313,6 @@ struct si476x_radio { }; static inline struct si476x_radio * -v4l2_dev_to_radio(struct v4l2_device *d) -{ - return container_of(d, struct si476x_radio, v4l2dev); -} - -static inline struct si476x_radio * v4l2_ctrl_handler_to_radio(struct v4l2_ctrl_handler *d) { return container_of(d, struct si476x_radio, ctrl_handler); -- 2.7.4