panfrost: remove stale code

This code was no longer needed after switching to os_read_file, but I
accidentally left it around, whoops!

Fixes: 49183bfb79 ("pan/bi: use os_read_file-helper")
CID: 1665295
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37903>
This commit is contained in:
Erik Faye-Lund 2025-10-15 10:50:43 +02:00 committed by Marge Bot
parent c8e30c7a9f
commit d77279fa9b

View file

@ -43,9 +43,6 @@ int verbose = 0;
static void
disassemble(const char *filename)
{
FILE *fp = fopen(filename, "rb");
assert(fp);
size_t filesize = 0;
uint32_t *code = (uint32_t *)os_read_file(filename, &filesize);
if (!code) {