Commit c1a65ebd authored by Mao Wenan's avatar Mao Wenan Committed by Mauro Carvalho Chehab

media: staging: davinci: drop pointless static qualifier in vpfe_resizer_init()

There is no need to have the 'T *v' variable static
since new value always be assigned before use it.
Signed-off-by: default avatarMao Wenan <maowenan@huawei.com>
Reviewed-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 3f7f41d7
...@@ -1881,7 +1881,7 @@ int vpfe_resizer_init(struct vpfe_resizer_device *vpfe_rsz, ...@@ -1881,7 +1881,7 @@ int vpfe_resizer_init(struct vpfe_resizer_device *vpfe_rsz,
struct v4l2_subdev *sd = &vpfe_rsz->crop_resizer.subdev; struct v4l2_subdev *sd = &vpfe_rsz->crop_resizer.subdev;
struct media_pad *pads = &vpfe_rsz->crop_resizer.pads[0]; struct media_pad *pads = &vpfe_rsz->crop_resizer.pads[0];
struct media_entity *me = &sd->entity; struct media_entity *me = &sd->entity;
static resource_size_t res_len; resource_size_t res_len;
struct resource *res; struct resource *res;
int ret; int ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment