amcheck: Remove unused IndexCheckableCallback typedef

Fujii Masao <masao.fujii@oss.nttdata.com>

From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: pgsql-hackers@lists.postgresql.org
Date: 2025-07-04T07:50:26Z
Lists: pgsql-hackers

Attachments

Hi,

Commit d70b17636dd introduced the IndexCheckableCallback typedef for
a callback function, but it appears to be unused.

 From the discussion in [1], it seems this typedef was originally used as
a function argument in early versions of the patch. However,
the argument was removed in v23, and the typedef was accidentally left behind.

The attached patch removes this unused typedef to clean up the dead code.
Thoughts?

Regards,

[1] https://postgr.es/m/45AC9B0A-2B45-40EE-B08F-BDCF5739D1E1@yandex-team.ru

-- 
Fujii Masao
NTT DATA Japan Corporation

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. amcheck: Remove unused IndexCheckableCallback typedef.

  2. amcheck: Move common routines into a separate module