drop unused dbCaGetUpdateCount()

This commit is contained in:
Michael Davidsaver
2021-11-02 11:28:54 -07:00
parent ce910f52c3
commit 4340e76445
2 changed files with 0 additions and 25 deletions

View File

@@ -279,29 +279,6 @@ void dbCaSync(void)
epicsEventDestroy(wake);
}
DBCORE_API unsigned long dbCaGetUpdateCount(struct link *plink)
{
caLink *pca;
unsigned long ret;
dbScanLock(plink->precord);
pca= (caLink *)plink->value.pv_link.pvt;
if (!pca) {
dbScanUnlock(plink->precord);
return (unsigned long)-1;
}
epicsMutexMustLock(pca->lock);
ret = pca->nUpdate;
epicsMutexUnlock(pca->lock);
dbScanUnlock(plink->precord);
return ret;
}
void dbCaCallbackProcess(void *userPvt)
{
struct link *plink = (struct link *)userPvt;

View File

@@ -50,8 +50,6 @@ extern struct ca_client_context * dbCaClientContext;
#ifdef EPICS_DBCA_PRIVATE_API
/* Wait CA link work queue to become empty. eg. after from dbPut() to OUT */
DBCORE_API void dbCaSync(void);
/* Get current number of data updates received. */
DBCORE_API unsigned long dbCaGetUpdateCount(struct link *plink);
/* Wait for the data update counter to reach the specified value. */
DBCORE_API void testdbCaWaitForUpdateCount(DBLINK *plink, unsigned long cnt);
#endif