On Wed 2019-11-13 05:35:02, kan.liang@xxxxxxxxxxxxxxx wrote: > From: Kan Liang <kan.liang@xxxxxxxxxxxxxxx> > > The uncore_pmu pointer in uncore_pmu_enable/disable() is from > container_of, which never be NULL. > > Remove the unnecessary check for uncore_pmu. > > Fixes: 75be6f703a14 ("perf/x86/uncore: Fix event group support") > Reported-by: Pavel Machek <pavel@xxxxxxx> > Signed-off-by: Kan Liang <kan.liang@xxxxxxxxxxxxxxx> > Cc: stable@xxxxxxxxxxxxxxx Thanks for doing this. Acked-by: Pavel Machek <pavel@xxxxxxx> Pavel -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Attachment:
signature.asc
Description: PGP signature