OSDN Git Service

media: atomisp-gc2235: drop an unused var
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Nov 2021 22:58:38 +0000 (22:58 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 16 Nov 2021 14:37:08 +0000 (14:37 +0000)
commitea3e24ca30123b6060d6d52a5c74206f0e07e62b
treead9990aab794514643717edf43461fc301a01684
parent652af08aad4223742b43addbc6193428489b8586
media: atomisp-gc2235: drop an unused var

Fix this clang Werror with W=1:

drivers/staging/media/atomisp/i2c/atomisp-gc2235.c:573:6: error: variable 'ret' set but not used [-Werror,-Wunused-but-set-variable]
        int ret = -1;
            ^

Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/i2c/atomisp-gc2235.c