Since there are no zero-length arrays in the base code any more, remove
the -Wno-array-bounds build flag.

Signed-off-by: Bruce Richardson <[email protected]>
---
 drivers/net/intel/ice/base/meson.build | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/net/intel/ice/base/meson.build 
b/drivers/net/intel/ice/base/meson.build
index fd079c41cf..da961f0752 100644
--- a/drivers/net/intel/ice/base/meson.build
+++ b/drivers/net/intel/ice/base/meson.build
@@ -44,11 +44,6 @@ else
     ]
 endif
 
-# Bugzilla ID: 678
-if (toolchain == 'gcc' and cc.version().version_compare('>=11.0.0'))
-    error_cflags += ['-Wno-array-bounds']
-endif
-
 foreach flag: error_cflags
     if cc.has_argument(flag)
         base_cflags += flag
-- 
2.53.0

Reply via email to