Don't make the same assignment twice.

Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de>
---
 drivers/usb/host/sl811-hcd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c
index b29c67e189..e587895bfc 100644
--- a/drivers/usb/host/sl811-hcd.c
+++ b/drivers/usb/host/sl811-hcd.c
@@ -93,7 +93,7 @@ static void inline sl811_write_buf(__u8 offset, __u8 *buf, 
__u8 size)
 int usb_init_kup4x (void)
 {
        volatile immap_t *immap = (immap_t *) CONFIG_SYS_IMMR;
-       volatile memctl8xx_t *memctl = &immap->im_memctl;
+       volatile memctl8xx_t *memctl;
        int i;
        unsigned char tmp;
 
-- 
2.16.2

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to