Loading
platform/x86/intel/vsec: Remove unnecessary return
mainline inclusion from mainline-v6.8 commit ace7b6f00870cea56460df335606e35ace3c07ac category: bugfix bugzilla: https://gitee.com/openeuler/intel-kernel/issues/IB6QCG CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ace7b6f00870cea56460df335606e35ace3c07ac ------------------------------------------------- Intel-SIG: commit ace7b6f00870 platform/x86/intel/vsec: Remove unnecessary return. Backport intel tpmi base driver update for 5.10 In intel_vsec_add_aux(), just return from the last call to devm_add_action_or_reset() instead of checking its return value. Suggested-by:Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by:
David E. Box <david.e.box@linux.intel.com> Reviewed-by:
Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20231129222132.2331261-3-david.e.box@linux.intel.com Signed-off-by:
Hans de Goede <hdegoede@redhat.com> [ Yingbao Jia: amend commit log ] Signed-off-by:
Yingbao Jia <yingbao.jia@intel.com>