Remove duplicate null DSXT layer.

This commit is contained in:
Andrew Johnson
2008-06-06 14:29:37 +00:00
parent e21bf9d9f1
commit ad5760f61a
2 changed files with 3 additions and 10 deletions
+2 -1
View File
@@ -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);
+1 -9
View File
@@ -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;
}