Skip to content

Commit 8bd73b7

Browse files
committed
pkg/machine/wsl: rm unused structures
Those are not used since commit 0c587f0 ("refactor(machine,wsl): improve operations of Windows API"). Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 2861bc3 commit 8bd73b7

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

pkg/machine/wsl/util_windows.go

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,6 @@ type SHELLEXECUTEINFO struct {
4141
hProcess syscall.Handle
4242
}
4343

44-
type Luid struct {
45-
lowPart uint32
46-
highPart int32
47-
}
48-
49-
type LuidAndAttributes struct {
50-
luid Luid
51-
attributes uint32
52-
}
53-
54-
type TokenPrivileges struct {
55-
privilegeCount uint32
56-
privileges [1]LuidAndAttributes
57-
}
58-
5944
// Cleaner to refer to the official OS constant names, and consistent with syscall
6045
// Ref: https://learn.microsoft.com/en-us/windows/win32/api/shellapi/ns-shellapi-shellexecuteinfow#members
6146
const (

0 commit comments

Comments
 (0)