Author: stefanct
Date: Wed May 18 03:30:56 2011
New Revision: 1302
URL: http://flashrom.org/trac/flashrom/changeset/1302

Log:
Remove filename parameter from chip_safety_check()

Signed-off-by: David Hendricks <[email protected]>
Acked-by: Stefan Reinauer <[email protected]>

Modified:
   trunk/flashrom.c

Modified: trunk/flashrom.c
==============================================================================
--- trunk/flashrom.c    Wed May 18 01:30:13 2011        (r1301)
+++ trunk/flashrom.c    Wed May 18 03:30:56 2011        (r1302)
@@ -1772,7 +1772,7 @@
 /* FIXME: This function signature needs to be improved once doit() has a better
  * function signature.
  */
-int chip_safety_check(struct flashchip *flash, int force, char *filename, int 
read_it, int write_it, int erase_it, int verify_it)
+int chip_safety_check(struct flashchip *flash, int force, int read_it, int 
write_it, int erase_it, int verify_it)
 {
        if (!programmer_may_write && (write_it || erase_it)) {
                msg_perr("Write/erase is not working yet on your programmer in "
@@ -1836,7 +1836,7 @@
        int ret = 0;
        unsigned long size = flash->total_size * 1024;
 
-       if (chip_safety_check(flash, force, filename, read_it, write_it, 
erase_it, verify_it)) {
+       if (chip_safety_check(flash, force, read_it, write_it, erase_it, 
verify_it)) {
                msg_cerr("Aborting.\n");
                ret = 1;
                goto out_nofree;

_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to