This is an automated email from Gerrit.

Mirela Tauciuc ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/691

-- gerrit

commit f2260e685c8c67b435502ca124c4cf43b4c29c1d
Author: Mirela Tauciuc <[email protected]>
Date:   Fri Jun 22 11:59:41 2012 +0300

    AT91SAM7 Flash: fixed redundant assignation warning
    
    Change-Id: Iffacdce9ce90c4ea7e0c8647860a0056b952f387
    Signed-off-by: Mirela Tauciuc <[email protected]>

diff --git a/src/flash/nor/at91sam7.c b/src/flash/nor/at91sam7.c
index e46122a..442a4ac 100644
--- a/src/flash/nor/at91sam7.c
+++ b/src/flash/nor/at91sam7.c
@@ -375,7 +375,6 @@ static int at91sam7_read_part_info(struct flash_bank *bank)
        if (at91sam7_info->cidr != 0) {
                /* flash already configured, update clock and check for 
protected sectors */
                struct flash_bank *fb = bank;
-               t_bank = fb;
 
                while (t_bank) {
                        /* re-calculate master clock frequency */
@@ -404,7 +403,6 @@ static int at91sam7_read_part_info(struct flash_bank *bank)
        if (at91sam7_info->flash_autodetection == 0) {
                /* banks and sectors are already created, based on data from 
input file */
                struct flash_bank *fb = bank;
-               t_bank = fb;
                while (t_bank) {
                        at91sam7_info = t_bank->driver_priv;
 

-- 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to