]> git.itanic.dy.fi Git - linux-stable/commit
perf/x86/uncore: Remove unnecessary ?: operator around pcibios_err_to_errno() call
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 24 Aug 2023 13:28:32 +0000 (16:28 +0300)
committerIngo Molnar <mingo@kernel.org>
Thu, 24 Aug 2023 19:25:24 +0000 (21:25 +0200)
commit2c65477f14a359db9f1edee5dd8e683d3dae69e2
tree87b0bb5f9a4471c93594ce3118ec9bec11009a7f
parenta430021faad6b4fa86c820fc3e7f8dbfc2f14fb4
perf/x86/uncore: Remove unnecessary ?: operator around pcibios_err_to_errno() call

If err == 0, pcibios_err_to_errno(err) returns 0 so the ?: construct
can be removed.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230824132832.78705-15-ilpo.jarvinen@linux.intel.com
arch/x86/events/intel/uncore_snbep.c