diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-11-24 12:27:22 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-11-29 13:23:14 +0100 |
commit | 3fb246476f8c0556747301ba7497f135068225a8 (patch) | |
tree | 0c50614f0ac4ed704eaaf269554671cb18a8f42b /drivers/media/radio | |
parent | media: si470x: consolidate multiple printk's (diff) | |
download | linux-3fb246476f8c0556747301ba7497f135068225a8.tar.xz linux-3fb246476f8c0556747301ba7497f135068225a8.zip |
media: radio-si476x: drop a container_of() abstraction macro
This isn't used anywhere. So, drop it.
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/radio')
-rw-r--r-- | drivers/media/radio/radio-si476x.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/radio/radio-si476x.c b/drivers/media/radio/radio-si476x.c index b39a68f83c5f..0bf99e1cd1d8 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); |