summaryrefslogtreecommitdiff
path: root/driver_oncore.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-13 09:40:29 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-13 09:40:29 +0000
commitbfede96dcb989353be781759f337a7b34393aac2 (patch)
tree62c6df31e74bace28c197397e348043b621e3445 /driver_oncore.c
parentcd419e26ba8bfda8ba3fa8193a792bf2b4f35e44 (diff)
downloadgpsd-bfede96dcb989353be781759f337a7b34393aac2.tar.gz
Fold the revert method into the generic event hook.
Abolish the wrapup method; there were only two users, one was trivial, and the other belonged as a revert.
Diffstat (limited to 'driver_oncore.c')
-rw-r--r--driver_oncore.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/driver_oncore.c b/driver_oncore.c
index 77d45aa1..a214ca7d 100644
--- a/driver_oncore.c
+++ b/driver_oncore.c
@@ -492,10 +492,8 @@ const struct gps_type_t oncore_binary = {
/* Minimum cycle time of the device */
.min_cycle = 1,
/* Undo actions at configure_event time */
- .revert = NULL,
#endif /* ALLOW_RECONFIGURE */
/* Puts device back to original settings */
- .wrapup = NULL,
};
#endif /* defined(ONCORE_ENABLE) && defined(BINARY_ENABLE) */