Remove duplicate null DSXT layer.
This commit is contained in:
@@ -54,8 +54,9 @@ typedef struct dsxt { /* device support extension table */
|
||||
#define S_dev_noDeviceFound (M_devSup|23) /*No device found at specified address*/
|
||||
|
||||
|
||||
/* This routine is defined in src/misc/iocInit.c */
|
||||
/* These are defined in src/misc/iocInit.c */
|
||||
|
||||
extern struct dsxt devSoft_DSXT;
|
||||
extern void devExtend(dsxt *pdsxt);
|
||||
|
||||
|
||||
|
||||
@@ -25,16 +25,8 @@
|
||||
|
||||
/* Extended device support to allow INP field changes */
|
||||
|
||||
static long allow(struct dbCommon *prec) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct dsxt dsxtAllow = {
|
||||
allow, allow
|
||||
};
|
||||
|
||||
static long initAllow(int pass) {
|
||||
if (pass == 0) devExtend(&dsxtAllow);
|
||||
if (pass == 0) devExtend(&devSoft_DSXT);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user