diff options
author | Andy Shevchenko <[email protected]> | 2021-04-02 20:43:30 +0300 |
---|---|---|
committer | Corey Minyard <[email protected]> | 2021-04-02 12:53:32 -0500 |
commit | 59cdb2e7c849656a1509b8c20cab2be1743631b2 (patch) | |
tree | 92834eb554ebffd2a20497c6ddd1cdc3c459e1b2 /lib/mpi/mpi-sub-ui.c | |
parent | 649a7d46d0840fc44d181cc6b3e608b46c77a86d (diff) |
ipmi_si: Reuse si_to_str[] array in ipmi_hardcode_init_one()
Instead of making the comparison one by one, reuse si_to_str[] array
in ipmi_hardcode_init_one() in conjunction with match_string() API.
Signed-off-by: Andy Shevchenko <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Corey Minyard <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions