]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Remove unused buffer0
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 20 Aug 2010 19:25:20 +0000 (21:25 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 20 Aug 2010 19:25:20 +0000 (21:25 +0200)
bus/usb/uhci.c

index 69fae60fd46ae7725d6720cbdb5560e7e9277450..0bba24b54b6251c45398174cc5835c1bcbce67f5 100644 (file)
@@ -75,10 +75,8 @@ struct grub_uhci_td
      This is GRUB specific.  */
   grub_uint32_t linkptr2;
 
-  grub_uint32_t buffer0;
-
-  /* 2 additional 32 bits words reserved for the Host Controller Driver.  */
-  grub_uint32_t data[2];
+  /* 3 additional 32 bits words reserved for the Host Controller Driver.  */
+  grub_uint32_t data[3];
 } __attribute__ ((packed));
 
 typedef volatile struct grub_uhci_td *grub_uhci_td_t;
@@ -436,7 +434,6 @@ grub_uhci_transaction (struct grub_uhci *u, unsigned int endp,
               | (addr << 8) | tf[type]);
 
   td->buffer = data;
-  td->buffer0 = data;
 
   return td;
 }