Loading drivers/media/platform/msm/vidc/governors/msm_vidc_bw_gov.c +1 −2 Original line number Diff line number Diff line Loading @@ -168,8 +168,7 @@ static struct lut const *__lut(int width, int height) return &LUT[c]; } while (++c < ARRAY_SIZE(LUT)); WARN(true, "Shouldn't be here, LUT possibly corrupted?\n"); return NULL; /* impossible */ return &LUT[ARRAY_SIZE(LUT) - 1]; } static fp_t __compression_ratio(struct lut const *entry, int bpp, Loading Loading
drivers/media/platform/msm/vidc/governors/msm_vidc_bw_gov.c +1 −2 Original line number Diff line number Diff line Loading @@ -168,8 +168,7 @@ static struct lut const *__lut(int width, int height) return &LUT[c]; } while (++c < ARRAY_SIZE(LUT)); WARN(true, "Shouldn't be here, LUT possibly corrupted?\n"); return NULL; /* impossible */ return &LUT[ARRAY_SIZE(LUT) - 1]; } static fp_t __compression_ratio(struct lut const *entry, int bpp, Loading