Skip to content

Commit

Permalink
media: staging: davinci: drop pointless static qualifier in vpfe_resi…
Browse files Browse the repository at this point in the history
…zer_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 <[email protected]>
Reviewed-by: Dan Carpenter <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
Mao Wenan authored and mchehab committed Mar 19, 2019
1 parent 3f7f41d commit c1a65eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/media/davinci_vpfe/dm365_resizer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit c1a65eb

Please sign in to comment.