aboutsummaryrefslogtreecommitdiff
path: root/nexgb/xgbgen/translation.go
diff options
context:
space:
mode:
Diffstat (limited to 'nexgb/xgbgen/translation.go')
-rw-r--r--nexgb/xgbgen/translation.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/nexgb/xgbgen/translation.go b/nexgb/xgbgen/translation.go
index e4d81bc..44d615d 100644
--- a/nexgb/xgbgen/translation.go
+++ b/nexgb/xgbgen/translation.go
@@ -395,11 +395,6 @@ func TypeSrcName(p *Protocol, typ Type) string {
return newt
}
- // If it's a resource type, just use 'Id'.
- if _, ok := typ.(*Resource); ok {
- return xgbGenResourceIdName
- }
-
// If there's a namespace to this type, just use it and be done.
if colon := strings.Index(t, ":"); colon > -1 {
namespace := t[:colon]