[Spice-devel,v3,08/51] codegen: Remove old ptr32 attribute

Submitted by Frediano Ziglio on July 21, 2015, 4:45 p.m.

Details

Message ID 1437497181-26929-9-git-send-email-fziglio@redhat.com
State New
Headers show

Not browsing as part of any series.

Commit Message

Frediano Ziglio July 21, 2015, 4:45 p.m.
This attribute is not use in code.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
---
 python_modules/ptypes.py | 4 ----
 1 file changed, 4 deletions(-)

Patch hide | download patch | download mbox

diff --git a/python_modules/ptypes.py b/python_modules/ptypes.py
index d8b6c90..cc6960f 100644
--- a/python_modules/ptypes.py
+++ b/python_modules/ptypes.py
@@ -108,8 +108,6 @@  valid_attributes={
     # for a switch this indicates that on network
     # will occupy always same size (maximum size required for all members)
     'fixedsize',
-    # use 32 bit pointer
-    'ptr32',
 }
 
 attributes_with_arguments={
@@ -616,8 +614,6 @@  class Member(Containee):
         self.container = container
         self.member_type = self.member_type.resolve()
         self.member_type.register()
-        if self.has_attr("ptr32") and self.member_type.is_pointer():
-            self.member_type.set_ptr_size(4)
         for i in propagated_attributes:
             if self.has_attr(i):
                 self.member_type.attributes[i] = self.attributes[i]