From 43872677a6ebdb038f1b8069fc0e54e7b513cc02 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 1 Jun 2007 18:20:17 -0700 Subject: [PATCH] Remove unused set_8() function Remove unused set_8() function, to keep gcc quiet. --- extlinux/extlinux.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/extlinux/extlinux.c b/extlinux/extlinux.c index d75505a..a3d57bd 100644 --- 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__) -- 2.7.4