mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 06:23:51 -04: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:
@@ -1182,7 +1182,7 @@ exit:
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user