mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-23 22:20:01 +07:00
brcm80211: pointless current->files passed to filp_close()
... only needed if it's been in descriptor table Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
586093064d
commit
0b5306b329
@ -1182,7 +1182,7 @@ int brcmf_write_to_file(struct brcmf_pub *drvr, const u8 *buf, int size)
|
||||
kfree(buf);
|
||||
/* close file before return */
|
||||
if (fp)
|
||||
filp_close(fp, current->files);
|
||||
filp_close(fp, NULL);
|
||||
/* restore previous address limit */
|
||||
set_fs(old_fs);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user