summaryrefslogtreecommitdiff
path: root/src/helper/binarybuffer.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-14 06:41:58 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-14 18:21:02 -0800
commitbc07ee82fbeb05a93f91d077d0628d4e369c5aeb (patch)
tree6543d7b64328cb46dbb0ff888c2c42120615358c /src/helper/binarybuffer.c
parent4d4b2958a5fdf0dfa0f8199535ccd9bd4e66d4af (diff)
downloadopenocd+libswd-bc07ee82fbeb05a93f91d077d0628d4e369c5aeb.tar.gz
openocd+libswd-bc07ee82fbeb05a93f91d077d0628d4e369c5aeb.tar.bz2
openocd+libswd-bc07ee82fbeb05a93f91d077d0628d4e369c5aeb.tar.xz
openocd+libswd-bc07ee82fbeb05a93f91d077d0628d4e369c5aeb.zip
remove unused buf_to_u32_handler
Purge an unused routine from the tree and remove a layering violation. If this code is needed, it should reappear somwhere in src/jtag/, where struct scan_field gets defined.
Diffstat (limited to 'src/helper/binarybuffer.c')
-rw-r--r--src/helper/binarybuffer.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/helper/binarybuffer.c b/src/helper/binarybuffer.c
index e0e7ac16..fdfcf715 100644
--- a/src/helper/binarybuffer.c
+++ b/src/helper/binarybuffer.c
@@ -327,12 +327,3 @@ int str_to_buf(const char *str, int str_len, uint8_t *buf, int buf_len, int radi
return i;
}
-
-int buf_to_u32_handler(uint8_t *in_buf, void *priv, struct scan_field *field)
-{
- uint32_t *dest = priv;
-
- *dest = buf_get_u32(in_buf, 0, 32);
-
- return ERROR_OK;
-}