• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisión3fa1981e243cbe8f4a31139740600eddde5a4da4 (tree)
Tiempo2014-04-18 06:44:36
AutorTom Rini <trini@ti.c...>
CommiterTom Rini

Log Message

env_flash.c: Drop unused variables

With 7ce1526 we no longer need 'len' or 'res', so drop these variables.

Signed-off-by: Tom Rini <trini@ti.com>

Cambiar Resumen

Diferencia incremental

--- a/common/env_flash.c
+++ b/common/env_flash.c
@@ -224,9 +224,8 @@ int env_init(void)
224224 int saveenv(void)
225225 {
226226 env_t env_new;
227- ssize_t len;
228227 int rc = 1;
229- char *res, *saved_data = NULL;
228+ char *saved_data = NULL;
230229 #if CONFIG_ENV_SECT_SIZE > CONFIG_ENV_SIZE
231230 ulong up_data = 0;
232231