fru: Remove get_fru_record_by_option_check()

Deprecated prior to v0.9.0.

Change-Id: Ifec87c665842d9ae5ba78fa1888ea99c2bbe90f5
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e905e9a..1a4f18d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -21,6 +21,7 @@
 
 1. Deprecated functions with the `_check` suffix
 
+   - `get_fru_record_by_option_check()`
    - `pldm_bios_table_append_pad_checksum_check()`
    - `pldm_bios_table_attr_entry_enum_decode_def_num_check()`
    - `pldm_bios_table_attr_entry_enum_decode_pv_hdls_check()`
diff --git a/abi/x86_64/gcc.dump b/abi/x86_64/gcc.dump
index f084b33..f44474b 100644
--- a/abi/x86_64/gcc.dump
+++ b/abi/x86_64/gcc.dump
@@ -3723,7 +3723,7 @@
     },
     '58323' => {
       'Header' => 'fru.h',
-      'Line' => '505',
+      'Line' => '502',
       'Param' => {
         '0' => {
           'name' => 'instance_id',
@@ -3751,7 +3751,7 @@
     },
     '58563' => {
       'Header' => 'fru.h',
-      'Line' => '490',
+      'Line' => '487',
       'Param' => {
         '0' => {
           'name' => 'msg',
@@ -9492,7 +9492,6 @@
       'encode_write_file_req' => 1,
       'encode_write_file_resp' => 1,
       'get_fru_record_by_option' => 1,
-      'get_fru_record_by_option_check' => 1,
       'is_time_legal' => 1,
       'is_transfer_flag_valid' => 1,
       'pack_pldm_header' => 1,
diff --git a/include/libpldm/fru.h b/include/libpldm/fru.h
index 2962131..464c58e 100644
--- a/include/libpldm/fru.h
+++ b/include/libpldm/fru.h
@@ -468,9 +468,6 @@
 int get_fru_record_by_option(const uint8_t *table, size_t table_size,
 			     uint8_t *record_table, size_t *record_size,
 			     uint16_t rsi, uint8_t rt, uint8_t ft);
-int get_fru_record_by_option_check(const uint8_t *table, size_t table_size,
-				   uint8_t *record_table, size_t *record_size,
-				   uint16_t rsi, uint8_t rt, uint8_t ft);
 
 /* SetFruRecordTable */
 
diff --git a/meson.build b/meson.build
index c749b7c..88969ae 100644
--- a/meson.build
+++ b/meson.build
@@ -34,9 +34,6 @@
 if get_option('abi').contains('deprecated')
     conf.set('LIBPLDM_ABI_DEPRECATED', visible)
     add_project_arguments('-DLIBPLDM_API_DEPRECATED', language: ['c', 'cpp'])
-    libpldm_deprecated_aliases += [
-        ['get_fru_record_by_option_check', 'get_fru_record_by_option'],
-    ]
 else
     conf.set('LIBPLDM_ABI_DEPRECATED', '')
 endif