staging: r8188eu: remove lines from Makefile that silence build warnings
Remove the several lines from the Makefile that append EXTRA_CFLAGS options to silence build warnings about unused variables, unused functions and such like. This will enable cleanup of missed warnings, and easier spotting of future such problems. Acked-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Phillip Potter <phil@philpotter.co.uk> Link: https://lore.kernel.org/r/20210810235047.177883-9-phil@philpotter.co.uk Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
6be20b17ff
commit
987219ad34
@ -2,15 +2,6 @@ SHELL := /bin/bash
|
|||||||
EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS)
|
EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS)
|
||||||
EXTRA_CFLAGS += -O1
|
EXTRA_CFLAGS += -O1
|
||||||
|
|
||||||
EXTRA_CFLAGS += -Wno-unused-variable
|
|
||||||
EXTRA_CFLAGS += -Wno-unused-value
|
|
||||||
EXTRA_CFLAGS += -Wno-unused-label
|
|
||||||
EXTRA_CFLAGS += -Wno-unused-parameter
|
|
||||||
EXTRA_CFLAGS += -Wno-unused-function
|
|
||||||
EXTRA_CFLAGS += -Wno-unused
|
|
||||||
|
|
||||||
EXTRA_CFLAGS += -Wno-uninitialized
|
|
||||||
|
|
||||||
ccflags-y += -D__CHECK_ENDIAN__
|
ccflags-y += -D__CHECK_ENDIAN__
|
||||||
|
|
||||||
CONFIG_R8188EU = m
|
CONFIG_R8188EU = m
|
||||||
|
Reference in New Issue
Block a user