diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-11-24 14:27:22 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-11-29 15:23:14 +0300 |
commit | 3fb246476f8c0556747301ba7497f135068225a8 (patch) | |
tree | 0c50614f0ac4ed704eaaf269554671cb18a8f42b /drivers/media/radio | |
parent | d5aa19c9fd775a11a56db2380e3b451d42c50e8e (diff) | |
download | linux-3fb246476f8c0556747301ba7497f135068225a8.tar.xz |
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); |