diff options
author | Mao Wenan <maowenan@huawei.com> | 2019-03-11 15:37:39 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-03-19 21:37:59 +0100 |
commit | c1a65ebd05a9a6b9ae753fbc9f6ed2a8f0f4f09f (patch) | |
tree | 42a3c6fe8e3b9259f87595f24a45ef9afac5aa52 | |
parent | media: staging: media: zoran: Fixes a checkpatch.pl error in videocodec.c (diff) | |
download | linux-c1a65ebd05a9a6b9ae753fbc9f6ed2a8f0f4f09f.tar.xz linux-c1a65ebd05a9a6b9ae753fbc9f6ed2a8f0f4f09f.zip |
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: Mao Wenan <maowenan@huawei.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
-rw-r--r-- | drivers/staging/media/davinci_vpfe/dm365_resizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/davinci_vpfe/dm365_resizer.c b/drivers/staging/media/davinci_vpfe/dm365_resizer.c index 9d726298b406..3a9879d2f337 100644 --- a/drivers/staging/media/davinci_vpfe/dm365_resizer.c +++ b/drivers/staging/media/davinci_vpfe/dm365_resizer.c @@ -1881,7 +1881,7 @@ int vpfe_resizer_init(struct vpfe_resizer_device *vpfe_rsz, struct v4l2_subdev *sd = &vpfe_rsz->crop_resizer.subdev; struct media_pad *pads = &vpfe_rsz->crop_resizer.pads[0]; struct media_entity *me = &sd->entity; - static resource_size_t res_len; + resource_size_t res_len; struct resource *res; int ret; |