Skip to contentSkip to conversation

media: staging/intel-ipu3: remove the unnecessary compiler flags

PATCH New [email protected] 1 participant 1 message Oct 23, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: staging/intel-ipu3: remove the unnecessary compiler flags

From: Bingbu Cao <[email protected]>

Currently, we can build ipu3 driver code without any warnings with W=1, so the extra compiler flags in Makefile and the item in TODO file can be removed.

Cc Mauro Carvalho Chehab <[email protected]>
---
 drivers/staging/media/ipu3/Makefile | 6 ------
 drivers/staging/media/ipu3/TODO     | 2 --
 2 files changed, 8 deletions(-)
drivers/staging/media/ipu3/Makefile +0 -6
index cc288ae6d5f2..9def80ef28f3 100644
@@ -10,9 +10,3 @@ ipu3-imgu-objs += \
 		ipu3-css.o ipu3-v4l2.o ipu3.o
 
 obj-$(CONFIG_VIDEO_IPU3_IMGU) += ipu3-imgu.o
-
-# HACK! While this driver is in bad shape, don't enable several warnings
-#       that would be otherwise enabled with W=1
-ccflags-y += $(call cc-disable-warning, packed-not-aligned)
-ccflags-y += $(call cc-disable-warning, type-limits)
-ccflags-y += $(call cc-disable-warning, unused-const-variable)
drivers/staging/media/ipu3/TODO +0 -2
index 5e55baeaea1a..8b95e74e43a0 100644
@@ -27,5 +27,3 @@ staging directory.
 - Document different operation modes, and which buffer queues are relevant
   in each mode. To process an image, which queues require a buffer an in
   which ones is it optional?
-
-- Make sure it builds fine with no warnings with W=1
Signature · 1 line
2.7.4