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:
Blue Swirl
2008-11-30 11:54:01 +00:00
parent c52d26b976
commit bf0c6b1c38
51 changed files with 186 additions and 166 deletions

View File

@@ -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);
}