This is an automated email from Gerrit.

Antonio Borneo (borneo.anto...@gmail.com) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/5153

-- gerrit

commit 15c1f52d5c88bcd727e4309a637f29c11d9ee4a7
Author: Antonio Borneo <borneo.anto...@gmail.com>
Date:   Sun May 5 14:32:37 2019 +0200

    target: remove unused function target_buffer_get_u8()
    
    Left unused after commit "target: unify memory read/write
    commands", can be removed.
    
    Change-Id: Iea6ef9204c8071283a66a679b3d6edbb0c929c5c
    Signed-off-by: Antonio Borneo <borneo.anto...@gmail.com>

diff --git a/src/target/target.c b/src/target/target.c
index d1e7638..c464b9d 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -375,12 +375,6 @@ uint16_t target_buffer_get_u16(struct target *target, 
const uint8_t *buffer)
                return be_to_h_u16(buffer);
 }
 
-/* read a uint8_t from a buffer in target memory endianness */
-static __attribute__((unused)) uint8_t target_buffer_get_u8(struct target 
*target, const uint8_t *buffer)
-{
-       return *buffer & 0x0ff;
-}
-
 /* write a uint64_t to a buffer in target memory endianness */
 void target_buffer_set_u64(struct target *target, uint8_t *buffer, uint64_t 
value)
 {

-- 


_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to