Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(740)

Unified Diff: set.c

Issue 6676023: Initialize the bad block table when create the bct file from scratch, (Closed) Base URL: http://git.chromium.org/git/cbootimage.git@master
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « data_layout.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: set.c
diff --git a/set.c b/set.c
index 36237889e94ee3527d27dbc966843f44807952af..70c952233f950a1479bcf304d710ff62f10ae01c 100644
--- a/set.c
+++ b/set.c
@@ -24,7 +24,6 @@
* set.c - State setting support for the cbootimage tool
*/
-#include <math.h>
#include "set.h"
#include "cbootimage.h"
#include "crypto.h"
@@ -40,8 +39,6 @@
* A SetXXX() function may not call any parseing functions.
*/
-#define NV_MAX(a, b) (((a) > (b)) ? (a) : (b))
-
#define CASE_DEVICE_VALUE(prefix, id) \
case token_##id: \
(void)context->bctlib.setdev_param(index, \
« no previous file with comments | « data_layout.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698