mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
staging: rtl8723bs: os_dep: Fix assignment in if condition
Fix an assignment in if condition. Signed-off-by: Guilherme Tadashi Maeoka <gui.maeoka@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
93f6bc735f
commit
cbc570a769
1 changed files with 3 additions and 1 deletions
|
|
@ -155,7 +155,9 @@ static int retriveFromFile(char *path, u8 *buf, u32 sz)
|
|||
struct file *fp;
|
||||
|
||||
if (path && buf) {
|
||||
if (0 == (ret =openFile(&fp, path, O_RDONLY, 0))) {
|
||||
ret = openFile(&fp, path, O_RDONLY, 0);
|
||||
|
||||
if (ret == 0) {
|
||||
DBG_871X("%s openFile path:%s fp =%p\n", __func__, path , fp);
|
||||
|
||||
ret =readFile(fp, buf, sz);
|
||||
|
|
|
|||
Loading…
Reference in a new issue