summaryrefslogtreecommitdiff
path: root/gpsd.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-07-02 15:47:23 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-07-02 15:47:23 +0000
commit681f551f57bdb4de0a7c23b46bc541359a66090d (patch)
tree18c85f0a07913542c5615141651dd6be1ce641f5 /gpsd.c
parent716494f896fdd82ca3d9b368467f3c768cf82cea (diff)
downloadgpsd-681f551f57bdb4de0a7c23b46bc541359a66090d.tar.gz
Slightly better unstrumentation of file descriptor operations.
Diffstat (limited to 'gpsd.c')
-rw-r--r--gpsd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gpsd.c b/gpsd.c
index b5ab5c78..09ba1302 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -886,7 +886,6 @@ static void handle_control(int sfd, char *buf)
if ((chp = find_device(stash))) {
if (chp->gpsdata.gps_fd > 0)
FD_CLR(chp->gpsdata.gps_fd, &all_fds);
- gpsd_deactivate(chp);
notify_watchers(chp, "X=0\r\n");
for (cfd = 0; cfd < FD_SETSIZE; cfd++)
if (subscribers[cfd].device == chp)