@@ -176,7 +176,7 @@ static int dpu_hw_pp_enable_te(struct dpu_hw_pingpong *pp, bool enable)
static int dpu_hw_pp_connect_external_te(struct dpu_hw_pingpong *pp,
bool enable_external_te)
{
- struct dpu_hw_blk_reg_map *c = &pp->hw;
+ struct dpu_hw_blk_reg_map *c;
u32 cfg;
int orig;
@@ -221,7 +221,7 @@ static int dpu_hw_pp_get_vsync_info(struct dpu_hw_pingpong *pp,
static u32 dpu_hw_pp_get_line_count(struct dpu_hw_pingpong *pp)
{
- struct dpu_hw_blk_reg_map *c = &pp->hw;
+ struct dpu_hw_blk_reg_map *c;
u32 height, init;
u32 line = 0xFFFF;