Skip to content

Commit

Permalink
af_iucv: Fix merge.
Browse files Browse the repository at this point in the history
From: Ursula Braun <ubraun@linux.vnet.ibm.com>

net/iucv/af_iucv.c in net-next-2.6 is almost correct. 4 lines should
still be deleted. These are the remaining changes:

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Ursula Braun authored and David S. Miller committed Apr 23, 2009
1 parent 5802b14 commit d93fe1a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions net/iucv/af_iucv.c
Original file line number Diff line number Diff line change
Expand Up @@ -982,8 +982,6 @@ static int iucv_sock_recvmsg(struct kiocb *iocb, struct socket *sock,
if (flags & (MSG_OOB))
return -EOPNOTSUPP;

target = sock_rcvlowat(sk, flags & MSG_WAITALL, len);

/* receive/dequeue next skb:
* the function understands MSG_PEEK and, thus, does not dequeue skb */
skb = skb_recv_datagram(sk, flags, noblock, &err);
Expand Down Expand Up @@ -1429,8 +1427,6 @@ static void iucv_callback_rx(struct iucv_path *path, struct iucv_message *msg)
iucv_process_message(sk, skb, path, msg);
goto out_unlock;

return;

save_message:
save_msg = kzalloc(sizeof(struct sock_msg_q), GFP_ATOMIC | GFP_DMA);
if (!save_msg)
Expand Down

0 comments on commit d93fe1a

Please sign in to comment.