drm/amd/display: remove conversion to bool in dcn20_mpc.c
[linux-2.6-microblaze.git] / drivers / gpu / drm / amd / display / dc / dcn20 / dcn20_mpc.c
index de9c857..9d7432f 100644 (file)
@@ -452,7 +452,7 @@ void mpc2_set_output_gamma(
                next_mode = LUT_RAM_A;
 
        mpc20_power_on_ogam_lut(mpc, mpcc_id, true);
-       mpc20_configure_ogam_lut(mpc, mpcc_id, next_mode == LUT_RAM_A ? true:false);
+       mpc20_configure_ogam_lut(mpc, mpcc_id, next_mode == LUT_RAM_A);
 
        if (next_mode == LUT_RAM_A)
                mpc2_program_luta(mpc, mpcc_id, params);