aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorZaid Alali <[email protected]>2025-05-06 21:38:08 +0000
committerRafael J. Wysocki <[email protected]>2025-05-09 19:24:28 +0000
commite54b1dc1c4f083cb66a70d8ccc866de47fc36d7a (patch)
treee08d090432bb0a028bbc075b510921da37a35a3e /scripts/gcc-plugins/sancov_plugin.c
parentACPI: APEI: EINJ: Fix probe error message (diff)
downloadkernel-e54b1dc1c4f083cb66a70d8ccc866de47fc36d7a.tar.gz
kernel-e54b1dc1c4f083cb66a70d8ccc866de47fc36d7a.zip
ACPI: APEI: EINJ: Remove redundant calls to einj_get_available_error_type()
A single call to einj_get_available_error_type() in init function is sufficient to save the return value in a global variable to be used later in various places in the code. This change has no functional impact, but only removes unnecessary redundant function calls. Reviewed-by: Jonathan Cameron <[email protected]> Reviewed-by: Ira Weiny <[email protected]> Signed-off-by: Zaid Alali <[email protected]> Link: https://patch.msgid.link/[email protected] [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions