mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
dir command cleanup
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@635 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -297,16 +297,8 @@ files_block_size( files_info_t *dummy )
|
||||
static void
|
||||
files_dir( files_info_t *mi )
|
||||
{
|
||||
fs_ops_t *fs = do_open( my_parent() );
|
||||
char *path = pop_fstr_copy();
|
||||
|
||||
if (!path)
|
||||
return;
|
||||
|
||||
if (fs->dir)
|
||||
fs->dir(mi->file);
|
||||
|
||||
free(path);
|
||||
if (mi->fs->dir)
|
||||
mi->fs->dir(mi->file);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user