From af1071ba5fb44584e446a1c40381ffefa35aa5e6 Mon Sep 17 00:00:00 2001
From: Xiang Xiao <xiaoxiang@xiaomi.com>
Date: Sat, 11 May 2024 09:44:28 +0800
Subject: [PATCH] Revert "system/adb: Ignore warnings for using variables"

This reverts commit d372099242aa5737cc68f0042c30aa7574a9a9c2
since the mainline already fix this problem
---
 system/adb/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/system/adb/Makefile b/system/adb/Makefile
index 67b702c38..7e536d9c2 100644
--- a/system/adb/Makefile
+++ b/system/adb/Makefile
@@ -52,7 +52,6 @@ CSRCS += $(ADB_UNPACKNAME)/hal/hal_uv.c
 CSRCS += $(ADB_UNPACKNAME)/hal/hal_uv_packet.c
 
 CFLAGS += -I$(ADB_UNPACKNAME)
-CFLAGS += -Wno-unused-variable -Wno-unused-but-set-variable
 
 ifeq ($(CONFIG_ADBD_TCP_SERVER),y)
 CSRCS += $(ADB_UNPACKNAME)/hal/hal_uv_client_tcp.c