uml: vector: Remove unused definitions VECTOR_{WRITE,HEADERS}

Message ID 20230209181638.3781977-1-carlos.bilbao@amd.com
State New
Headers
Series uml: vector: Remove unused definitions VECTOR_{WRITE,HEADERS} |

Commit Message

Carlos Bilbao Feb. 9, 2023, 6:16 p.m. UTC
  Remove definitions of VECTOR_WRITE and VECTOR_HEADERS since no longer used.

Signed-off-by: Carlos Bilbao <carlos.bilbao@amd.com>
---
 arch/um/drivers/vector_user.h | 2 --
 1 file changed, 2 deletions(-)
  

Comments

Anton Ivanov Feb. 9, 2023, 7:02 p.m. UTC | #1
On 09/02/2023 18:16, Carlos Bilbao wrote:
> Remove definitions of VECTOR_WRITE and VECTOR_HEADERS since no longer used.
> 
> Signed-off-by: Carlos Bilbao <carlos.bilbao@amd.com>
> ---
>   arch/um/drivers/vector_user.h | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/arch/um/drivers/vector_user.h b/arch/um/drivers/vector_user.h
> index 3a73d17a0161..59ed5f9e6e41 100644
> --- a/arch/um/drivers/vector_user.h
> +++ b/arch/um/drivers/vector_user.h
> @@ -68,8 +68,6 @@ struct vector_fds {
>   };
>   
>   #define VECTOR_READ	1
> -#define VECTOR_WRITE	(1 < 1)
> -#define VECTOR_HEADERS	(1 < 2)
>   
>   extern struct arglist *uml_parse_vector_ifspec(char *arg);
>   

Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
  

Patch

diff --git a/arch/um/drivers/vector_user.h b/arch/um/drivers/vector_user.h
index 3a73d17a0161..59ed5f9e6e41 100644
--- a/arch/um/drivers/vector_user.h
+++ b/arch/um/drivers/vector_user.h
@@ -68,8 +68,6 @@  struct vector_fds {
 };
 
 #define VECTOR_READ	1
-#define VECTOR_WRITE	(1 < 1)
-#define VECTOR_HEADERS	(1 < 2)
 
 extern struct arglist *uml_parse_vector_ifspec(char *arg);