diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-07-22 13:15:37 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-07-29 13:24:22 -0400 |
commit | 0b5306b329a773b9fdd1d53bec6d08ce122d7b65 (patch) | |
tree | f29ca05df4d4423439952fbb076755ba36c6715f | |
parent | 586093064d95618cc9ba2acd546949eea9f2a8fa (diff) |
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>
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c b/drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c index 8933f9b31a9a..ae00e800f5e8 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c | |||
@@ -1182,7 +1182,7 @@ exit: | |||
1182 | kfree(buf); | 1182 | kfree(buf); |
1183 | /* close file before return */ | 1183 | /* close file before return */ |
1184 | if (fp) | 1184 | if (fp) |
1185 | filp_close(fp, current->files); | 1185 | filp_close(fp, NULL); |
1186 | /* restore previous address limit */ | 1186 | /* restore previous address limit */ |
1187 | set_fs(old_fs); | 1187 | set_fs(old_fs); |
1188 | 1188 | ||