Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: vt6656: vt6655: removing unused macros definition Makefiles

This patch is removing definition of CFLAGS in Makefile of vt6656 and
vt6655, as those are defining macros that are not used. This will remove
undef of one macro from vt6655/device_main.c, as it is only undef and it is
not used anywhere else, so it is safe to remove it.

Macros are removed from vt665x/Makefile and vt6655/device_main.c.

Signed-off-by: Matej Dujava <mdujava@kocurkovo.cz>
Link: https://lore.kernel.org/r/1589397351-24655-2-git-send-email-mdujava@kocurkovo.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Matej Dujava and committed by
Greg Kroah-Hartman
3abbab51 f03c9b78

-7
-3
drivers/staging/vt6655/Makefile
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 - # TODO: all of these should be removed 3 - ccflags-y := -DLINUX -D__KERNEL__ -D__NO_VERSION__ 4 - ccflags-y += -DHOSTAP 5 2 6 3 vt6655_stage-y += device_main.o \ 7 4 card.o \
-1
drivers/staging/vt6655/device_main.c
··· 32 32 * 33 33 * Revision History: 34 34 */ 35 - #undef __NO_VERSION__ 36 35 37 36 #include <linux/file.h> 38 37 #include "device.h"
-3
drivers/staging/vt6656/Makefile
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 - # TODO: all of these should be removed 3 - ccflags-y := -DLINUX -D__KERNEL__ -DEXPORT_SYMTAB -D__NO_VERSION__ 4 - ccflags-y += -DHOSTAP 5 2 6 3 vt6656_stage-y += main_usb.o \ 7 4 card.o \