suppress a few "unused function" warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
1f1492bb96
commit
e5897d041d
@ -504,12 +504,14 @@ static ALWAYS_INLINE double MAXD(double a, double b)
|
|||||||
return a;
|
return a;
|
||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
|
#if !USING_KERNEL_PLL_LOOP
|
||||||
static ALWAYS_INLINE double MIND(double a, double b)
|
static ALWAYS_INLINE double MIND(double a, double b)
|
||||||
{
|
{
|
||||||
if (a < b)
|
if (a < b)
|
||||||
return a;
|
return a;
|
||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
static NOINLINE double my_SQRT(double X)
|
static NOINLINE double my_SQRT(double X)
|
||||||
{
|
{
|
||||||
union {
|
union {
|
||||||
|
@ -13,6 +13,7 @@ typedef uint32_t word32;
|
|||||||
|
|
||||||
/* from wolfssl-3.15.3/wolfcrypt/src/aes.c */
|
/* from wolfssl-3.15.3/wolfcrypt/src/aes.c */
|
||||||
|
|
||||||
|
#ifdef UNUSED
|
||||||
static ALWAYS_INLINE void FlattenSzInBits(byte* buf, word32 sz)
|
static ALWAYS_INLINE void FlattenSzInBits(byte* buf, word32 sz)
|
||||||
{
|
{
|
||||||
/* Multiply the sz by 8 */
|
/* Multiply the sz by 8 */
|
||||||
@ -32,6 +33,7 @@ static ALWAYS_INLINE void FlattenSzInBits(byte* buf, word32 sz)
|
|||||||
// buf[7] = sz & 0xff;
|
// buf[7] = sz & 0xff;
|
||||||
*(uint32_t*)(buf + 4) = SWAP_BE32(sz);
|
*(uint32_t*)(buf + 4) = SWAP_BE32(sz);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void RIGHTSHIFTX(byte* x)
|
static void RIGHTSHIFTX(byte* x)
|
||||||
{
|
{
|
||||||
|
@ -122,11 +122,6 @@ static inline void reset_outbuf(void)
|
|||||||
cur_outbuf = outbuf;
|
cur_outbuf = outbuf;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int outbuf_count(void)
|
|
||||||
{
|
|
||||||
return cur_outbuf - outbuf;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void print_outbuf(void)
|
static void print_outbuf(void)
|
||||||
{
|
{
|
||||||
int sz = cur_outbuf - outbuf;
|
int sz = cur_outbuf - outbuf;
|
||||||
|
@ -588,11 +588,13 @@ partname(const char *dev, int pno, int lth)
|
|||||||
return bufp;
|
return bufp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if ENABLE_FEATURE_SGI_LABEL || ENABLE_FEATURE_OSF_LABEL
|
||||||
static ALWAYS_INLINE struct partition *
|
static ALWAYS_INLINE struct partition *
|
||||||
get_part_table(int i)
|
get_part_table(int i)
|
||||||
{
|
{
|
||||||
return ptes[i].part_table;
|
return ptes[i].part_table;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static ALWAYS_INLINE const char *
|
static ALWAYS_INLINE const char *
|
||||||
str_units(void)
|
str_units(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user