Skip to content

Commit

Permalink
media: staging/intel-ipu3: remove the unnecessary compiler flags
Browse files Browse the repository at this point in the history
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.

Signed-off-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
  • Loading branch information
Bingbu Cao authored and Mauro Carvalho Chehab committed Nov 5, 2019
1 parent 318335c commit dca5ef2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions drivers/staging/media/ipu3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 0 additions & 2 deletions drivers/staging/media/ipu3/TODO
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,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

0 comments on commit dca5ef2

Please sign in to comment.