Commit 7db4eea691f9368c33346064a9c46663d140938d

Authored by bellard
1 parent b30d4608

removed unused code


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@985 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 11 deletions
hw/cuda.c
@@ -461,17 +461,7 @@ static void cuda_send_packet_to_host(CUDAState *s, @@ -461,17 +461,7 @@ static void cuda_send_packet_to_host(CUDAState *s,
461 cuda_update_irq(s); 461 cuda_update_irq(s);
462 } 462 }
463 463
464 -void adb_send_packet(ADBBusState *bus, const uint8_t *buf, int len)  
465 -{  
466 - CUDAState *s = &cuda_state;  
467 - uint8_t data[16];  
468 -  
469 - memcpy(data + 1, buf, len);  
470 - data[0] = ADB_PACKET;  
471 - cuda_send_packet_to_host(s, data, len + 1);  
472 -}  
473 -  
474 -void cuda_adb_poll(void *opaque) 464 +static void cuda_adb_poll(void *opaque)
475 { 465 {
476 CUDAState *s = opaque; 466 CUDAState *s = opaque;
477 uint8_t obuf[ADB_MAX_OUT_LEN + 2]; 467 uint8_t obuf[ADB_MAX_OUT_LEN + 2];