mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Fix most warnings from Sparse
git-svn-id: svn://coreboot.org/openbios/openbios-devel@274 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -114,12 +114,6 @@ static inline node_buf* node_buf_get(node_cache* cache, int i)
|
||||
{
|
||||
return (node_buf*) (cache->buffers + (i * cache->nodebufsize));
|
||||
}
|
||||
|
||||
/* flush the cache NYI */
|
||||
static void node_cache_flush(node_cache* cache)
|
||||
{
|
||||
// NYI
|
||||
}
|
||||
|
||||
/* flush the node at index */
|
||||
static void node_cache_flush_node(node_cache* cache, int index)
|
||||
@@ -132,7 +126,6 @@ static void node_cache_close(node_cache* cache)
|
||||
{
|
||||
if (!cache->entries) // not (fully) intialized ?
|
||||
return;
|
||||
node_cache_flush(cache);
|
||||
free(cache->entries);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user