diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-12-16 05:23:45 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-12-16 05:23:45 -0500 |
commit | c4de673b775e4db48cd2db6277e0c6714332ca0c (patch) | |
tree | 84f9e4728e6ccf257236d2ba063b6e784ec8b65d /net/nfc/rawsock.c | |
parent | bafdc614a1f4f8be8cde41b8ab10ac17e67c1837 (diff) | |
parent | 55957fb7a0b61d8ab6ff3f04e279b8fc22b738fa (diff) |
Merge remote-tracking branch 'wireless-next/master' into mac80211-next
Diffstat (limited to 'net/nfc/rawsock.c')
-rw-r--r-- | net/nfc/rawsock.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/net/nfc/rawsock.c b/net/nfc/rawsock.c index cd958b381f96..c27a6e86cae4 100644 --- a/net/nfc/rawsock.c +++ b/net/nfc/rawsock.c | |||
@@ -16,9 +16,7 @@ | |||
16 | * GNU General Public License for more details. | 16 | * GNU General Public License for more details. |
17 | * | 17 | * |
18 | * You should have received a copy of the GNU General Public License | 18 | * You should have received a copy of the GNU General Public License |
19 | * along with this program; if not, write to the | 19 | * along with this program; if not, see <http://www.gnu.org/licenses/>. |
20 | * Free Software Foundation, Inc., | ||
21 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
22 | */ | 20 | */ |
23 | 21 | ||
24 | #define pr_fmt(fmt) KBUILD_MODNAME ": %s: " fmt, __func__ | 22 | #define pr_fmt(fmt) KBUILD_MODNAME ": %s: " fmt, __func__ |
@@ -244,8 +242,6 @@ static int rawsock_recvmsg(struct kiocb *iocb, struct socket *sock, | |||
244 | if (!skb) | 242 | if (!skb) |
245 | return rc; | 243 | return rc; |
246 | 244 | ||
247 | msg->msg_namelen = 0; | ||
248 | |||
249 | copied = skb->len; | 245 | copied = skb->len; |
250 | if (len < copied) { | 246 | if (len < copied) { |
251 | msg->msg_flags |= MSG_TRUNC; | 247 | msg->msg_flags |= MSG_TRUNC; |