shared library: remove redundant code

This has never actually served any purpose; see core commit ab02d702ef.
This commit is contained in:
Ian Barwick
2022-05-17 19:56:48 +09:00
parent 72ae977d0d
commit b3d52c4332

View File

@@ -84,7 +84,6 @@ static shmem_startup_hook_type prev_shmem_startup_hook = NULL;
void _PG_init(void); void _PG_init(void);
void _PG_fini(void);
static void repmgr_shmem_startup(void); static void repmgr_shmem_startup(void);
@@ -133,17 +132,6 @@ _PG_init(void)
} }
/*
* Module unload callback
*/
void
_PG_fini(void)
{
/* Uninstall hook */
shmem_startup_hook = prev_shmem_startup_hook;
}
/* /*
* shmem_startup hook: allocate or attach to shared memory, * shmem_startup hook: allocate or attach to shared memory,
*/ */