projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46ed7c2
)
Remove unused set_8() function
author
H. Peter Anvin
<hpa@zytor.com>
Sat, 2 Jun 2007 01:20:17 +0000
(18:20 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Sat, 2 Jun 2007 01:20:17 +0000
(18:20 -0700)
Remove unused set_8() function, to keep gcc quiet.
extlinux/extlinux.c
patch
|
blob
|
history
diff --git
a/extlinux/extlinux.c
b/extlinux/extlinux.c
index
d75505a
..
a3d57bd
100644
(file)
--- a/
extlinux/extlinux.c
+++ b/
extlinux/extlinux.c
@@
-187,11
+187,6
@@
static inline uint32_t get_32(const unsigned char *p)
#endif
}
-static inline void set_8(unsigned char *p, uint8_t v)
-{
- *(uint8_t *)p = v;
-}
-
static inline void set_16(unsigned char *p, uint16_t v)
{
#if defined(__i386__) || defined(__x86_64__)