mirror of https://gitee.com/openkylin/linux.git
media: dm365_ipipe: remove an unused var
drivers/staging/media/davinci_vpfe/dm365_ipipe.c:74:17: warning: variable 'dev' set but not used [-Wunused-but-set-variable] struct device *dev; ^~~ Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
3d37383b7e
commit
a8a0437020
|
@ -71,14 +71,12 @@ static int ipipe_set_lutdpc_params(struct vpfe_ipipe_device *ipipe, void *param)
|
||||||
{
|
{
|
||||||
struct vpfe_ipipe_lutdpc *lutdpc = &ipipe->config.lutdpc;
|
struct vpfe_ipipe_lutdpc *lutdpc = &ipipe->config.lutdpc;
|
||||||
struct vpfe_ipipe_lutdpc *dpc_param;
|
struct vpfe_ipipe_lutdpc *dpc_param;
|
||||||
struct device *dev;
|
|
||||||
|
|
||||||
if (!param) {
|
if (!param) {
|
||||||
memset((void *)lutdpc, 0, sizeof(struct vpfe_ipipe_lutdpc));
|
memset((void *)lutdpc, 0, sizeof(struct vpfe_ipipe_lutdpc));
|
||||||
goto success;
|
goto success;
|
||||||
}
|
}
|
||||||
|
|
||||||
dev = ipipe->subdev.v4l2_dev->dev;
|
|
||||||
dpc_param = param;
|
dpc_param = param;
|
||||||
lutdpc->en = dpc_param->en;
|
lutdpc->en = dpc_param->en;
|
||||||
lutdpc->repl_white = dpc_param->repl_white;
|
lutdpc->repl_white = dpc_param->repl_white;
|
||||||
|
|
Loading…
Reference in New Issue