Applied. thanks! Alex On Mon, Apr 13, 2020 at 10:06 AM Jason Yan <yanaijie@xxxxxxxxxx> wrote: > > Fix the following gcc warning: > > drivers/gpu/drm/radeon/ci_dpm.c:82:36: warning: ‘defaults_saturn_pro’ > defined but not used [-Wunused-const-variable=] > static const struct ci_pt_defaults defaults_saturn_pro = > ^~~~~~~~~~~~~~~~~~~ > drivers/gpu/drm/radeon/ci_dpm.c:68:36: warning: ‘defaults_bonaire_pro’ > defined but not used [-Wunused-const-variable=] > static const struct ci_pt_defaults defaults_bonaire_pro = > ^~~~~~~~~~~~~~~~~~~~ > > Reported-by: Hulk Robot <hulkci@xxxxxxxxxx> > Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx> > --- > drivers/gpu/drm/radeon/ci_dpm.c | 14 -------------- > 1 file changed, 14 deletions(-) > > diff --git a/drivers/gpu/drm/radeon/ci_dpm.c b/drivers/gpu/drm/radeon/ci_dpm.c > index a9257bed3484..134aa2b01f90 100644 > --- a/drivers/gpu/drm/radeon/ci_dpm.c > +++ b/drivers/gpu/drm/radeon/ci_dpm.c > @@ -65,13 +65,6 @@ static const struct ci_pt_defaults defaults_bonaire_xt = > { 0x17C, 0x172, 0x180, 0x1BC, 0x1B3, 0x1BD, 0x206, 0x200, 0x203, 0x25D, 0x25A, 0x255, 0x2C3, 0x2C5, 0x2B4 } > }; > > -static const struct ci_pt_defaults defaults_bonaire_pro = > -{ > - 1, 0xF, 0xFD, 0x19, 5, 45, 0, 0x65062, > - { 0x8C, 0x23F, 0x244, 0xA6, 0x83, 0x85, 0x86, 0x86, 0x83, 0xDB, 0xDB, 0xDA, 0x67, 0x60, 0x5F }, > - { 0x187, 0x193, 0x193, 0x1C7, 0x1D1, 0x1D1, 0x210, 0x219, 0x219, 0x266, 0x26C, 0x26C, 0x2C9, 0x2CB, 0x2CB } > -}; > - > static const struct ci_pt_defaults defaults_saturn_xt = > { > 1, 0xF, 0xFD, 0x19, 5, 55, 0, 0x70000, > @@ -79,13 +72,6 @@ static const struct ci_pt_defaults defaults_saturn_xt = > { 0x187, 0x187, 0x187, 0x1C7, 0x1C7, 0x1C7, 0x210, 0x210, 0x210, 0x266, 0x266, 0x266, 0x2C9, 0x2C9, 0x2C9 } > }; > > -static const struct ci_pt_defaults defaults_saturn_pro = > -{ > - 1, 0xF, 0xFD, 0x19, 5, 55, 0, 0x30000, > - { 0x96, 0x21D, 0x23B, 0xA1, 0x85, 0x87, 0x83, 0x84, 0x81, 0xE6, 0xE6, 0xE6, 0x71, 0x6A, 0x6A }, > - { 0x193, 0x19E, 0x19E, 0x1D2, 0x1DC, 0x1DC, 0x21A, 0x223, 0x223, 0x26E, 0x27E, 0x274, 0x2CF, 0x2D2, 0x2D2 } > -}; > - > static const struct ci_pt_config_reg didt_config_ci[] = > { > { 0x10, 0x000000ff, 0, 0x0, CISLANDS_CONFIGREG_DIDT_IND }, > -- > 2.21.1 > > _______________________________________________ > amd-gfx mailing list > amd-gfx@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/amd-gfx _______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx