Skip to content

Commit

Permalink
remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNineteen committed Jun 5, 2024
1 parent 818abb9 commit 3e4aa60
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/cmd/cmd.zig
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ const SOCKET_TIMEOUT_US = @import("../net/socket_utils.zig").SOCKET_TIMEOUT_US;
const config = @import("config.zig");
// var validator_config = config.current;

const ACCOUNT_INDEX_BINS = @import("../accountsdb/db.zig").ACCOUNT_INDEX_BINS;
const socket_tag = @import("../gossip/data.zig").socket_tag;

// TODO: use better allocator, unless GPA becomes more performant.
Expand Down
1 change: 0 additions & 1 deletion src/gossip/service.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const std = @import("std");
const builtin = @import("builtin");
const network = @import("zig-network");
const EndPoint = network.EndPoint;
const Packet = @import("../net/packet.zig").Packet;
Expand Down
1 change: 0 additions & 1 deletion src/net/echo.zig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ const net = @import("net.zig");
const ShredVersion = @import("../core/shred.zig").ShredVersion;
const SocketAddr = @import("net.zig").SocketAddr;
const logger = @import("../trace/log.zig").default_logger;
const Channel = @import("../sync/channel.zig").Channel;
const Atomic = std.atomic.Value;
const assert = std.debug.assert;
const testing = std.testing;
Expand Down
1 change: 0 additions & 1 deletion src/trace/log.zig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const testing = std.testing;
const Mutex = std.Thread.Mutex;
const AtomicBool = std.atomic.Value(bool);
const Channel = @import("../sync/channel.zig").Channel;
const OnceCell = @import("../sync/once_cell.zig").OnceCell;
var gpa = std.heap.GeneralPurposeAllocator(.{}){};
var gpa_allocator = gpa.allocator();

Expand Down
1 change: 0 additions & 1 deletion src/tvu/repair_message.zig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const bincode = @import("../bincode/bincode.zig");
const Allocator = std.mem.Allocator;
const KeyPair = std.crypto.sign.Ed25519.KeyPair;

const LegacyContactInfo = @import("../gossip/data.zig").LegacyContactInfo;
const Nonce = @import("../core/shred.zig").Nonce;
const Pong = @import("../gossip/ping_pong.zig").Pong;
const Pubkey = @import("../core/pubkey.zig").Pubkey;
Expand Down

0 comments on commit 3e4aa60

Please sign in to comment.