]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/env_callback.c
scsi: move the partition initialization out of the scsi detection
[people/ms/u-boot.git] / common / env_callback.c
index f4d3dbd77fa6c311d16927dc517960d26c533a2c..1957cc199648b715a0d7ef81fe614fa775a590db 100644 (file)
@@ -97,6 +97,7 @@ static int set_callback(const char *name, const char *value, void *priv)
 
        e.key   = name;
        e.data  = NULL;
+       e.callback = NULL;
        hsearch_r(e, FIND, &ep, &env_htab, 0);
 
        /* does the env variable actually exist? */