From dd56146d2611f7de0fbb7d8db6c016d3dcdc6371 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 26 Jan 2020 11:30:18 +0100 Subject: prog: remove unused ResourceDesc.Type --- prog/any.go | 8 -------- prog/types.go | 1 - 2 files changed, 9 deletions(-) (limited to 'prog') diff --git a/prog/any.go b/prog/any.go index 582f00195..5e362a94b 100644 --- a/prog/any.go +++ b/prog/any.go @@ -85,14 +85,6 @@ func initAnyTypes(target *Target) { Name: name, Kind: []string{name}, Values: []uint64{^uint64(0), 0}, - Type: &IntType{ - IntTypeCommon: IntTypeCommon{ - TypeCommon: TypeCommon{ - TypeName: base, - TypeSize: size, - }, - }, - }, }, } } diff --git a/prog/types.go b/prog/types.go index bebf0aaea..c83a2875d 100644 --- a/prog/types.go +++ b/prog/types.go @@ -162,7 +162,6 @@ func (t TypeCommon) Dir() Dir { type ResourceDesc struct { Name string - Type Type Kind []string Values []uint64 Ctors []ResourceCtor -- cgit mrf-deployment