From 570cab1e777dd983b421469fa2df5905f734cf55 Mon Sep 17 00:00:00 2001 From: Martin Ling Date: Thu, 1 Feb 2024 17:14:25 +0000 Subject: [PATCH] Remove superfluous memset call. --- host/hackrf-tools/src/hackrf_sweep.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/host/hackrf-tools/src/hackrf_sweep.c b/host/hackrf-tools/src/hackrf_sweep.c index cb98f5a3d..948b9dd47 100644 --- a/host/hackrf-tools/src/hackrf_sweep.c +++ b/host/hackrf-tools/src/hackrf_sweep.c @@ -278,9 +278,6 @@ int rx_callback(hackrf_transfer* transfer) if (timestamp_normalized == true) { // set the timestamp of the next sweep - memset(&usb_transfer_time, - 0, - sizeof(usb_transfer_time)); gettimeofday(&usb_transfer_time, NULL); }