Re: [PATCH 1/2] macvtap: remove useless codes in macvtap_aio_read() and macvtap_recvmsg()

2013-12-09 Thread David Miller
From: Zhi Yong Wu Date: Sat, 7 Dec 2013 04:54:59 +0800 > From: Zhi Yong Wu > > By checking related codes, it is impossible that ret > len or total_len, > so we should remove some useless coeds in both above functions. > > Signed-off-by: Zhi Yong Wu Applied. -- To unsubscribe from this

Re: [PATCH 1/2] macvtap: remove useless codes in macvtap_aio_read() and macvtap_recvmsg()

2013-12-09 Thread David Miller
From: Zhi Yong Wu zwu.ker...@gmail.com Date: Sat, 7 Dec 2013 04:54:59 +0800 From: Zhi Yong Wu wu...@linux.vnet.ibm.com By checking related codes, it is impossible that ret len or total_len, so we should remove some useless coeds in both above functions. Signed-off-by: Zhi Yong Wu

Re: [PATCH 1/2] macvtap: remove useless codes in macvtap_aio_read() and macvtap_recvmsg()

2013-12-08 Thread Jason Wang
On 12/07/2013 10:38 AM, Vlad Yasevich wrote: > On 12/06/2013 03:54 PM, Zhi Yong Wu wrote: >> > From: Zhi Yong Wu >> > >> > By checking related codes, it is impossible that ret > len or total_len, >> > so we should remove some useless coeds in both above functions. > Looks like commit

Re: [PATCH 1/2] macvtap: remove useless codes in macvtap_aio_read() and macvtap_recvmsg()

2013-12-08 Thread Jason Wang
On 12/07/2013 10:38 AM, Vlad Yasevich wrote: On 12/06/2013 03:54 PM, Zhi Yong Wu wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com By checking related codes, it is impossible that ret len or total_len, so we should remove some useless coeds in both above functions. Looks like commit

Re: [PATCH 1/2] macvtap: remove useless codes in macvtap_aio_read() and macvtap_recvmsg()

2013-12-06 Thread Vlad Yasevich
On 12/06/2013 03:54 PM, Zhi Yong Wu wrote: > From: Zhi Yong Wu > > By checking related codes, it is impossible that ret > len or total_len, > so we should remove some useless coeds in both above functions. Looks like commit 6680ec68eff47d36f67b4351bc9836fd6cba9532 Author: Jason Wang Date:

[PATCH 1/2] macvtap: remove useless codes in macvtap_aio_read() and macvtap_recvmsg()

2013-12-06 Thread Zhi Yong Wu
From: Zhi Yong Wu By checking related codes, it is impossible that ret > len or total_len, so we should remove some useless coeds in both above functions. Signed-off-by: Zhi Yong Wu --- drivers/net/macvtap.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git

[PATCH 1/2] macvtap: remove useless codes in macvtap_aio_read() and macvtap_recvmsg()

2013-12-06 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com By checking related codes, it is impossible that ret len or total_len, so we should remove some useless coeds in both above functions. Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/macvtap.c |5 - 1 files changed, 0

Re: [PATCH 1/2] macvtap: remove useless codes in macvtap_aio_read() and macvtap_recvmsg()

2013-12-06 Thread Vlad Yasevich
On 12/06/2013 03:54 PM, Zhi Yong Wu wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com By checking related codes, it is impossible that ret len or total_len, so we should remove some useless coeds in both above functions. Looks like commit 6680ec68eff47d36f67b4351bc9836fd6cba9532 Author: