Skip to content

Commit fc9260f

Browse files
committed
Remove obolete comments, space.
1 parent 2fd20d1 commit fc9260f

File tree

1 file changed

+0
-3
lines changed
  • vm/devices/net/netvsp/src

1 file changed

+0
-3
lines changed

vm/devices/net/netvsp/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,13 +1193,11 @@ impl VmbusDevice for Nic {
11931193
// Start the coordinator task if this is the primary channel.
11941194
let state = if channel_idx == 0 {
11951195
self.insert_coordinator(1, false);
1196-
// No rx traffic on primary channel until guest sets the packet filter.
11971196
WorkerState::Init(None)
11981197
} else {
11991198
self.coordinator.stop().await;
12001199
// Get the buffers created when the primary channel was opened.
12011200
let buffers = self.coordinator.state().unwrap().buffers.clone().unwrap();
1202-
// Get the packet filter of the primary channel.
12031201
WorkerState::Ready(ReadyState {
12041202
state: ActiveState::new(None, buffers.recv_buffer.count),
12051203
buffers,
@@ -1211,7 +1209,6 @@ impl VmbusDevice for Nic {
12111209
.adapter
12121210
.num_sub_channels_opened
12131211
.fetch_add(1, Ordering::SeqCst);
1214-
12151212
let r = self.insert_worker(channel_idx, open_request, state, true);
12161213
if channel_idx != 0
12171214
&& num_opened + 1 == self.coordinator.state_mut().unwrap().num_queues as usize

0 commit comments

Comments
 (0)