summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/sf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/sf.c b/cmd/sf.c
index 286906c3a1..65b117feee 100644
--- a/cmd/sf.c
+++ b/cmd/sf.c
@@ -125,7 +125,6 @@ static int do_spi_flash_probe(int argc, char * const argv[])
ret = spi_find_bus_and_cs(bus, cs, &bus_dev, &new);
if (!ret) {
device_remove(new);
- device_unbind(new);
}
flash = NULL;
ret = spi_flash_probe_bus_cs(bus, cs, speed, mode, &new);