diff options
author | 2025-04-25 12:52:33 -0700 | |
---|---|---|
committer | 2025-05-08 16:03:45 +0300 | |
commit | a59211ee4610226251a723e9381a2c145a28fc4c (patch) | |
tree | 09bb7dfdd9603a3030467edca5f8b4f4559b4cb7 /lib/mpi/mpi-sub-ui.c | |
parent | platform/x86:intel/pmc: Move error handling to init function (diff) | |
download | wireguard-linux-a59211ee4610226251a723e9381a2c145a28fc4c.tar.xz wireguard-linux-a59211ee4610226251a723e9381a2c145a28fc4c.zip |
platform/x86:intel/pmc: Improve pmc_core_get_lpm_req()
Minor improvements on pmc_core_get_lpm_req().
1. Move the long comment to be above the function
2. Use %pe to print error pointer
3. Remove unneeded devm_kfree call
These changes improves the code maintainability.
Signed-off-by: Xi Pardee <xi.pardee@linux.intel.com>
Link: https://lore.kernel.org/r/20250425195237.493129-6-xi.pardee@linux.intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions