struct block_cache_stats stats;
blkcache_stats(&stats);
- printf(" hits: %u\n"
- " misses: %u\n"
- " entries: %u\n"
- " max blocks/entry: %u\n"
- " max cache entries: %u\n",
+ printf("hits: %u\n"
+ "misses: %u\n"
+ "entries: %u\n"
+ "max blocks/entry: %u\n"
+ "max cache entries: %u\n",
stats.hits, stats.misses, stats.entries,
stats.max_blocks_per_entry, stats.max_entries);
return 0;
c = find_cmd_tbl(argv[0], &cmd_blkc_sub[0], ARRAY_SIZE(cmd_blkc_sub));
- if (c)
- return c->cmd(cmdtp, flag, argc, argv);
- else
+ if (!c)
return CMD_RET_USAGE;
- return 0;
+ return c->cmd(cmdtp, flag, argc, argv);
}
U_BOOT_CMD(