From 28ef6216fe240ac097159069a1726886ee1c6baa Mon Sep 17 00:00:00 2001 From: bigmagic Date: Mon, 14 Sep 2020 14:27:57 +0800 Subject: [PATCH] remove unnecessary code --- bsp/raspberry-pi/raspi4-32/driver/mbox.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/bsp/raspberry-pi/raspi4-32/driver/mbox.c b/bsp/raspberry-pi/raspi4-32/driver/mbox.c index 402855bc0d..186440ffce 100644 --- a/bsp/raspberry-pi/raspi4-32/driver/mbox.c +++ b/bsp/raspberry-pi/raspi4-32/driver/mbox.c @@ -33,7 +33,6 @@ int mbox_call(unsigned char ch, int mmu_enable) /* write the address of our message to the mailbox with channel identifier */ *MBOX_WRITE = r; /* now wait for the response */ - // rt_kprintf("mailbox request %x\n",r); while(1) { /* is there a response? */ @@ -44,7 +43,6 @@ int mbox_call(unsigned char ch, int mmu_enable) /* is it a response to our message? */ if (r == *MBOX_READ){ /* is it a valid successful response? */ - //rt_kprintf("mbox: %x, %x, %x, %x, %x, %x, %x, %x\n", mbox[0], mbox[1], mbox[2], mbox[3], mbox[4], mbox[5], mbox[6], mbox[7]); return mbox[1] == MBOX_RESPONSE; } }