summaryrefslogtreecommitdiff
path: root/driver_italk.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_italk.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_italk.c')
-rw-r--r--driver_italk.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/driver_italk.c b/driver_italk.c
index 113e1250..98347d9f 100644
--- a/driver_italk.c
+++ b/driver_italk.c
@@ -434,9 +434,7 @@ const struct gps_type_t italk_binary =
.mode_switcher = italk_mode, /* there is a mode switcher */
.rate_switcher = NULL, /* no sample-rate switcher */
.min_cycle = 1, /* not relevant, no rate switch */
- .revert = NULL, /* no setting-reversion method */
#endif /* ALLOW_RECONFIGURE */
- .wrapup = NULL, /* no close hook */
};
#endif /* defined(ITRAX_ENABLE) && defined(BINARY_ENABLE) */
@@ -559,9 +557,7 @@ const static struct gps_type_t itrax = {
.mode_switcher = NULL, /* no mode switcher */
.rate_switcher = itrax_rate, /* there's a sample-rate switcher */
.min_cycle = 0, /* no hard limit */
- .revert = NULL, /* no setting-reversion method */
#endif /* ALLOW_RECONFIGURE */
- .wrapup = itrax_wrap, /* sleep the receiver */
};
/*@ -redef @*/
#endif /* ITRAX_ENABLE */