OSDN Git Service

drm/tidss: Drop pointless static qualifier in dispc_find_csc()
authorYueHaibing <yuehaibing@huawei.com>
Thu, 27 Feb 2020 06:50:57 +0000 (06:50 +0000)
committerJyri Sarha <jsarha@ti.com>
Fri, 28 Feb 2020 12:48:58 +0000 (14:48 +0200)
commit46cf7d98a00ea9f8a8a267a01004e607aa916449
treebaaa5d8fc437ee674b537b4db25cbc6907e837cc
parent652f67fd25b19df99dd03e629da97e0f2ee30e0e
drm/tidss: Drop pointless static qualifier in dispc_find_csc()

There is no need to have the 'const struct dispc_csc_coef *coef'
variable static since new value always be assigned before use it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Jyri Sarha <jsarha@ti.com>
Tested-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200227065057.92766-1-yuehaibing@huawei.com
drivers/gpu/drm/tidss/tidss_dispc.c