mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
mips: fix some compile warnings.
Change-Id: Ia5e83702313c1c184480290d3b0e6a66f01b7277
This commit is contained in:
parent
53d72a8be1
commit
d2cef81bba
5 changed files with 11 additions and 5 deletions
|
|
@ -341,7 +341,7 @@ static int jz_nand_read_oob(unsigned long page_addr, unsigned char *buf, int siz
|
|||
static int jz_nand_read_page(unsigned long page_addr, unsigned char *dst)
|
||||
{
|
||||
struct nand_param *nandp = &internal_param;
|
||||
int page_size, oob_size, page_per_block;
|
||||
int page_size, oob_size;
|
||||
int row_cycle, bus_width, ecc_count;
|
||||
int i;
|
||||
#ifdef USE_ECC
|
||||
|
|
@ -355,7 +355,6 @@ static int jz_nand_read_page(unsigned long page_addr, unsigned char *dst)
|
|||
|
||||
page_size = nandp->page_size;
|
||||
oob_size = nandp->oob_size;
|
||||
page_per_block = nandp->page_per_block;
|
||||
row_cycle = nandp->row_cycle;
|
||||
bus_width = nandp->bus_width;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue