[-next] um: Remove duplicated include from vector_user.c

Message ID 1546485161-142907-1-git-send-email-yuehaibing@huawei.com
State Accepted
Headers show
Series
  • [-next] um: Remove duplicated include from vector_user.c
Related show

Commit Message

Yue Haibing Jan. 3, 2019, 3:12 a.m.
Remove duplicated include.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 arch/um/drivers/vector_user.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Anton Ivanov Jan. 20, 2019, 6:54 p.m. | #1
On 1/3/19 3:12 AM, YueHaibing wrote:
> Remove duplicated include.
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
>   arch/um/drivers/vector_user.c | 3 ---
>   1 file changed, 3 deletions(-)
> 
> diff --git a/arch/um/drivers/vector_user.c b/arch/um/drivers/vector_user.c
> index d2c17dd..b3f7b3c 100644
> --- a/arch/um/drivers/vector_user.c
> +++ b/arch/um/drivers/vector_user.c
> @@ -16,14 +16,12 @@
>   #include <sys/types.h>
>   #include <sys/stat.h>
>   #include <fcntl.h>
> -#include <sys/types.h>
>   #include <sys/socket.h>
>   #include <net/ethernet.h>
>   #include <netinet/ip.h>
>   #include <netinet/ether.h>
>   #include <linux/if_ether.h>
>   #include <linux/if_packet.h>
> -#include <sys/socket.h>
>   #include <sys/wait.h>
>   #include <sys/uio.h>
>   #include <linux/virtio_net.h>
> @@ -31,7 +29,6 @@
>   #include <stdlib.h>
>   #include <os.h>
>   #include <um_malloc.h>
> -#include <sys/uio.h>
>   #include "vector_user.h"
>   
>   #define ID_GRE 0
> 

Reviewed-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Acked-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Yue Haibing Feb. 27, 2019, 5:46 a.m. | #2
Friendly ping:

Who can take this, please?

On 2019/1/21 2:54, Anton Ivanov wrote:
> 
> 
> On 1/3/19 3:12 AM, YueHaibing wrote:
>> Remove duplicated include.
>>
>> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
>> ---
>>   arch/um/drivers/vector_user.c | 3 ---
>>   1 file changed, 3 deletions(-)
>>
>> diff --git a/arch/um/drivers/vector_user.c b/arch/um/drivers/vector_user.c
>> index d2c17dd..b3f7b3c 100644
>> --- a/arch/um/drivers/vector_user.c
>> +++ b/arch/um/drivers/vector_user.c
>> @@ -16,14 +16,12 @@
>>   #include <sys/types.h>
>>   #include <sys/stat.h>
>>   #include <fcntl.h>
>> -#include <sys/types.h>
>>   #include <sys/socket.h>
>>   #include <net/ethernet.h>
>>   #include <netinet/ip.h>
>>   #include <netinet/ether.h>
>>   #include <linux/if_ether.h>
>>   #include <linux/if_packet.h>
>> -#include <sys/socket.h>
>>   #include <sys/wait.h>
>>   #include <sys/uio.h>
>>   #include <linux/virtio_net.h>
>> @@ -31,7 +29,6 @@
>>   #include <stdlib.h>
>>   #include <os.h>
>>   #include <um_malloc.h>
>> -#include <sys/uio.h>
>>   #include "vector_user.h"
>>     #define ID_GRE 0
>>
> 
> Reviewed-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>
> Acked-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Richard Weinberger Feb. 27, 2019, 8:37 a.m. | #3
Am Mittwoch, 27. Februar 2019, 06:46:35 CET schrieb YueHaibing:
> 
> Friendly ping:
> 
> Who can take this, please?

The winner takes it all. ;-)
Just kidding, Anton and I take care.

Thanks,
//richard

Patch

diff --git a/arch/um/drivers/vector_user.c b/arch/um/drivers/vector_user.c
index d2c17dd..b3f7b3c 100644
--- a/arch/um/drivers/vector_user.c
+++ b/arch/um/drivers/vector_user.c
@@ -16,14 +16,12 @@ 
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
-#include <sys/types.h>
 #include <sys/socket.h>
 #include <net/ethernet.h>
 #include <netinet/ip.h>
 #include <netinet/ether.h>
 #include <linux/if_ether.h>
 #include <linux/if_packet.h>
-#include <sys/socket.h>
 #include <sys/wait.h>
 #include <sys/uio.h>
 #include <linux/virtio_net.h>
@@ -31,7 +29,6 @@ 
 #include <stdlib.h>
 #include <os.h>
 #include <um_malloc.h>
-#include <sys/uio.h>
 #include "vector_user.h"
 
 #define ID_GRE 0