> > This patch reorder the code a bit to use loop instead of goto.
> > Besides, remove abudant check 'fd != -1'.
> >
> > Signed-off-by: Huawei Xie
>
> Acked-by: Konstantin Ananyev
Applied, thanks
This patch reorder the code a bit to use loop instead of goto.
Besides, remove abudant check 'fd != -1'.
Signed-off-by: Huawei Xie
---
lib/librte_vhost/vhost_user/fd_man.c | 26 +++---
1 file changed, 11 insertions(+), 15 deletions(-)
diff --git
> -Original Message-
> From: Xie, Huawei
> Sent: Friday, March 06, 2015 5:53 AM
> To: dev at dpdk.org
> Cc: Ananyev, Konstantin; Xie, Huawei
> Subject: [PATCH] lib/librte_vhost: use loop instead of goto
>
> This patch reorder the code a bit to use loop instead of goto.
> Besides, remove
3 matches
Mail list logo