]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8192u: remove unneeded compiler flags
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 4 Jan 2020 16:21:36 +0000 (01:21 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jan 2020 12:28:15 +0000 (13:28 +0100)
commite6c017687e277b4bc085e07977e37f27a64c9bb1
tree47e05bc8a905a7d434eacbefdaf19b14241f0f92
parenteb3b8a3bc9b23bdc89315d031c9398e02753e27a
staging: rtl8192u: remove unneeded compiler flags

-std=gnu89 is specified by the top Makefile. Adding it in a driver
Makefile is redundant.

A driver should avoid specifying the optimization flag.
-O2, -O3, or -Os is passed by the top Makefile based on the
CONFIG_CC_OPTIMIZE_FOR_* option.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20200104162136.19170-3-masahiroy@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/Makefile