pan/midgard: Remove unused ld/st packing hepers
Identified by cppcheck. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
@@ -323,22 +323,4 @@ midgard_ldst_reg(unsigned reg, unsigned component)
|
||||
return packed;
|
||||
}
|
||||
|
||||
/* Unpacks a load/store argument */
|
||||
|
||||
static inline midgard_ldst_register_select
|
||||
midgard_ldst_select(uint8_t u)
|
||||
{
|
||||
midgard_ldst_register_select sel;
|
||||
memcpy(&sel, &u, sizeof(u));
|
||||
return sel;
|
||||
}
|
||||
|
||||
static inline uint8_t
|
||||
midgard_ldst_pack(midgard_ldst_register_select sel)
|
||||
{
|
||||
uint8_t packed;
|
||||
memcpy(&packed, &sel, sizeof(packed));
|
||||
return packed;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user