aboutsummaryrefslogtreecommitdiff
path: root/hw/cuda.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-07-06 20:57:47 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-07-06 20:57:47 +0000
commit7db4eea691f9368c33346064a9c46663d140938d (patch)
treea6b1aa1e1b5235de1a212c339cf8cad1bbf2dfd0 /hw/cuda.c
parentb30d4608dae994cf57cab4824f3307de026fd373 (diff)
removed unused code
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@985 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/cuda.c')
-rw-r--r--hw/cuda.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/hw/cuda.c b/hw/cuda.c
index 8194016d6a..1e4915f77e 100644
--- a/hw/cuda.c
+++ b/hw/cuda.c
@@ -461,17 +461,7 @@ static void cuda_send_packet_to_host(CUDAState *s,
cuda_update_irq(s);
}
-void adb_send_packet(ADBBusState *bus, const uint8_t *buf, int len)
-{
- CUDAState *s = &cuda_state;
- uint8_t data[16];
-
- memcpy(data + 1, buf, len);
- data[0] = ADB_PACKET;
- cuda_send_packet_to_host(s, data, len + 1);
-}
-
-void cuda_adb_poll(void *opaque)
+static void cuda_adb_poll(void *opaque)
{
CUDAState *s = opaque;
uint8_t obuf[ADB_MAX_OUT_LEN + 2];