Skip to content

Commit 9800785

Browse files
committed
Cleanup: Remove unused code
No references where found in this file
1 parent 4336347 commit 9800785

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

src/rtapi/uspace_rtapi_main.cc

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -764,20 +764,6 @@ int main(int argc, char **argv) {
764764
}
765765
}
766766

767-
768-
/* These structs hold data associated with objects like tasks, etc. */
769-
/* Task handles are pointers to these structs. */
770-
771-
struct rtapi_module {
772-
int magic;
773-
};
774-
775-
#define MODULE_MAGIC 30812
776-
#define SHMEM_MAGIC 25453
777-
778-
#define MAX_MODULES 64
779-
#define MODULE_OFFSET 32768
780-
781767
static inline void write_string(int fd, const char *str) {
782768
(void)!write(fd, str, strlen(str));
783769
}

0 commit comments

Comments
 (0)