OSDN Git Service

media: ipu3: drop an unused variable
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Nov 2021 22:57:05 +0000 (22:57 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 16 Nov 2021 14:37:03 +0000 (14:37 +0000)
commit652af08aad4223742b43addbc6193428489b8586
tree8d9bb229836916931acda6034f739fa4e5aa7a91
parent5efe5721c18c326036ca71bec4fb56472e1f9350
media: ipu3: drop an unused variable

Fix this clang Werror with W=1:

drivers/staging/media/ipu3/ipu3-css-params.c:774:8: error: variable 'pin_scale' set but not used [-Werror,-Wunused-but-set-variable]
                        int pin_scale = 0;
                            ^

Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/ipu3/ipu3-css-params.c