Cosmetic cleanups

This commit is contained in:
Andrew Johnson
2017-04-19 16:53:12 -05:00
parent 89f13aa51b
commit dcb1f75b4d
2 changed files with 2 additions and 6 deletions

View File

@@ -98,10 +98,10 @@ void putLink(DBLINK *plink, short dbr, const void*buf, long nReq)
ret = dbCaPutLinkCallback(plink, dbr, buf, nReq,
&waitCB, NULL);
if(ret) {
testFail("putLink fails %ld\n", ret);
testFail("putLink fails %ld", ret);
} else {
epicsEventMustWait(waitEvent);
testPass("putLink ok\n");
testPass("putLink ok");
}
epicsEventDestroy(waitEvent);
waitEvent = NULL;

View File

@@ -66,10 +66,6 @@ static long read_bi(biRecord *prec)
prec->udf = FALSE;
}
if (dbLinkIsConstant(&prec->tsel) &&
prec->tse == epicsTimeEventDeviceTime)
dbGetTimeStamp(&prec->inp, &prec->time);
return 2;
}