Skip to content
Commit aee6fbbf authored by Nathan Chancellor's avatar Nathan Chancellor Committed by improbir
Browse files

msm: mdss: Remove pointless NULL check in pp_ad_calc_bl



Clang warns:

../drivers/video/fbdev/msm/mdss_mdp_pp.c:3372:8: warning: address of
array 'ad->bl_att_lut' will always evaluate to 'true'
[-Wpointer-bool-conversion]
                !ad->bl_att_lut) {
                ~~~~~^~~~~~~~~~

Fixes: eeb8889e ("fbdev: msm: Add snapshot of display framebuffer driver")
Signed-off-by: default avatarNathan Chancellor <natechancellor@gmail.com>
Change-Id: Ib40fb1946568fac1922dcb82c1b5d8aa269bfd04
Signed-off-by: default avatarimprobir <ghosh_probir@yahoo.com>
parent 6835428b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment