mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
media: atomisp: Remove atomisp_[sub]dev_users()
The atomisp_[sub]dev_users() functions are not used anymore, remove them. Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
4d141d3fae
commit
5ab97df864
@@ -489,16 +489,6 @@ static void atomisp_subdev_init_struct(struct atomisp_sub_device *asd)
|
||||
/*
|
||||
* file operation functions
|
||||
*/
|
||||
static unsigned int atomisp_subdev_users(struct atomisp_sub_device *asd)
|
||||
{
|
||||
return asd->video_out.users;
|
||||
}
|
||||
|
||||
unsigned int atomisp_dev_users(struct atomisp_device *isp)
|
||||
{
|
||||
return atomisp_subdev_users(&isp->asd);
|
||||
}
|
||||
|
||||
static int atomisp_open(struct file *file)
|
||||
{
|
||||
struct video_device *vdev = video_devdata(file);
|
||||
|
||||
@@ -22,9 +22,6 @@
|
||||
#define __ATOMISP_FOPS_H__
|
||||
#include "atomisp_subdev.h"
|
||||
|
||||
unsigned int atomisp_dev_users(struct atomisp_device *isp);
|
||||
unsigned int atomisp_sub_dev_users(struct atomisp_sub_device *asd);
|
||||
|
||||
/*
|
||||
* Memory help functions for image frame and private parameters
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user