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:
Alyssa Rosenzweig
2019-12-13 10:09:16 -05:00
parent 709d8c29cd
commit f204791cd6
-18
View File
@@ -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