summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrédéric Danis <frederic.danis@linux.intel.com>2012-10-24 16:34:14 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-10-25 12:38:31 +0300
commit0cdd6a2c0929ba130e6411bbaf093e9dd51089bc (patch)
treed69f338a373cb08d2027e4c397c5061d6f6d5c1a /src
parenta606967559f302618103455fcd5aa1f2ae871607 (diff)
event: Remove write of LastSeen info
Diffstat (limited to 'src')
-rw-r--r--src/event.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/event.c b/src/event.c
index 3c431355..d7daed2a 100644
--- a/src/event.c
+++ b/src/event.c
@@ -221,17 +221,6 @@ void btd_event_simple_pairing_complete(bdaddr_t *local, bdaddr_t *peer,
device_simple_pairing_complete(device, status);
}
-static void update_lastseen(bdaddr_t *sba, bdaddr_t *dba, uint8_t dba_type)
-{
- time_t t;
- struct tm *tm;
-
- t = time(NULL);
- tm = gmtime(&t);
-
- write_lastseen_info(sba, dba, dba_type, tm);
-}
-
static void update_lastused(bdaddr_t *sba, bdaddr_t *dba, uint8_t dba_type)
{
time_t t;
@@ -256,8 +245,6 @@ void btd_event_device_found(bdaddr_t *local, bdaddr_t *peer, uint8_t bdaddr_type
return;
}
- update_lastseen(local, peer, bdaddr_type);
-
adapter_update_found_devices(adapter, peer, bdaddr_type, rssi,
confirm_name, legacy, data, data_len);
}