Remove unused function readerGangsExist
This is a leftover from refactoring done in commit
@@ -104,9 +104,6 @@ static CdbComponentDatabaseInfo *copyCdbComponentDatabaseInfo(
static CdbComponentDatabaseInfo *findDatabaseInfoBySegIndex(
CdbComponentDatabases *cdbs, int segIndex);
static Gang *getAvailableGang(GangType type, int size, int content);
-#ifdef USE_ASSERT_CHECKING
-static bool readerGangsExist(void);
-#endif
/*
* Create a reader gang.
@@ -1627,14 +1624,6 @@ GangsExist(void)
}
-static bool
-readerGangsExist(void)
-{
- return (availableReaderGangsN != NIL ||
- availableReaderGangs1 != NIL ||
- numAllocatedReaderGangs > 0);
-}
-
int
largestGangsize(void)
{
