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 https://review.openocd.org/c/openocd/+/8548

-- gerrit

commit 0b1ab265bb8cfc3b0e7f01116438218c8dc7a17b
Author: Antonio Borneo <borneo.anto...@gmail.com>
Date:   Sat Nov 9 19:08:25 2024 +0100

    target: x86_32: x86_32_common_read_io() static
    
    The function is not referenced outside the file.
    Make it static.
    
    Change-Id: Ic2552c040b6b46c0334851a4fc0fdaa400e11e4c
    Signed-off-by: Antonio Borneo <borneo.anto...@gmail.com>

diff --git a/src/target/x86_32_common.c b/src/target/x86_32_common.c
index 2c60b9f7e0..8cca9a5e91 100644
--- a/src/target/x86_32_common.c
+++ b/src/target/x86_32_common.c
@@ -677,7 +677,7 @@ int x86_32_common_write_memory(struct target *t, 
target_addr_t addr,
        return retval;
 }
 
-int x86_32_common_read_io(struct target *t, uint32_t addr,
+static int x86_32_common_read_io(struct target *t, uint32_t addr,
                        uint32_t size, uint8_t *buf)
 {
        struct x86_32_common *x86_32 = target_to_x86_32(t);
diff --git a/src/target/x86_32_common.h b/src/target/x86_32_common.h
index 7392447a68..e232747697 100644
--- a/src/target/x86_32_common.h
+++ b/src/target/x86_32_common.h
@@ -309,8 +309,6 @@ int x86_32_common_read_memory(struct target *t, 
target_addr_t addr,
                        uint32_t size, uint32_t count, uint8_t *buf);
 int x86_32_common_write_memory(struct target *t, target_addr_t addr,
                        uint32_t size, uint32_t count, const uint8_t *buf);
-int x86_32_common_read_io(struct target *t, uint32_t addr,
-                       uint32_t size, uint8_t *buf);
 int x86_32_common_write_io(struct target *t, uint32_t addr,
                        uint32_t size, const uint8_t *buf);
 int x86_32_common_add_breakpoint(struct target *t, struct breakpoint *bp);

-- 

Reply via email to