Remove some dead code

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-09-22 20:34:20 +02:00
parent 760a7e5aed
commit ce3a2ec025
13 changed files with 3 additions and 164 deletions

View file

@ -73,7 +73,7 @@ struct grub_net_buff *grub_netbuff_alloc ( grub_size_t len )
len = ALIGN_UP (len,NETBUFF_ALIGN);
data = grub_memalign (NETBUFF_ALIGN, len + sizeof (*nb));
nb = (struct grub_net_buff *) ((int)data + len);
nb = (struct grub_net_buff *) ((grub_uint8_t *) data + len);
nb->head = nb->data = nb->tail = data;
nb->end = (char *) nb;