delete unused variables
This commit is contained in:
parent
5d8efec3f6
commit
be07a12d4b
|
@ -1949,7 +1949,6 @@ static int isFileReadable(char *path)
|
|||
{
|
||||
struct file *fp;
|
||||
int ret = 0;
|
||||
mm_segment_t oldfs;
|
||||
char buf;
|
||||
|
||||
fp=filp_open(path, O_RDONLY, 0);
|
||||
|
@ -1973,7 +1972,6 @@ static int isFileReadable(char *path)
|
|||
static int retriveFromFile(char *path, u8* buf, u32 sz)
|
||||
{
|
||||
int ret =-1;
|
||||
mm_segment_t oldfs;
|
||||
struct file *fp;
|
||||
|
||||
if(path && buf) {
|
||||
|
@ -2004,7 +2002,6 @@ static int retriveFromFile(char *path, u8* buf, u32 sz)
|
|||
static int storeToFile(char *path, u8* buf, u32 sz)
|
||||
{
|
||||
int ret =0;
|
||||
mm_segment_t oldfs;
|
||||
struct file *fp;
|
||||
|
||||
if(path && buf) {
|
||||
|
|
Loading…
Reference in a new issue