mirror of
https://github.com/hardkernel/linux.git
synced 2026-05-31 16:26:41 +09: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:
committed by
Greg Kroah-Hartman
parent
93f6bc735f
commit
cbc570a769
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user