提交 c51202d3 编写于 作者: M Mauro Carvalho Chehab

[media] s5p_cec: get rid of an unused var

drivers/staging/media/s5p-cec/s5p_cec.c: In function 's5p_cec_adap_enable':
drivers/staging/media/s5p-cec/s5p_cec.c:42:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
  int ret;
      ^~~
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 78fc853b
...@@ -39,10 +39,9 @@ MODULE_PARM_DESC(debug, "debug level (0-2)"); ...@@ -39,10 +39,9 @@ MODULE_PARM_DESC(debug, "debug level (0-2)");
static int s5p_cec_adap_enable(struct cec_adapter *adap, bool enable) static int s5p_cec_adap_enable(struct cec_adapter *adap, bool enable)
{ {
struct s5p_cec_dev *cec = adap->priv; struct s5p_cec_dev *cec = adap->priv;
int ret;
if (enable) { if (enable) {
ret = pm_runtime_get_sync(cec->dev); pm_runtime_get_sync(cec->dev);
s5p_cec_reset(cec); s5p_cec_reset(cec);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册