fbdev: remove object duplication in Makefile
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 6 Jan 2020 08:13:52 +0000 (17:13 +0900)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Wed, 15 Jan 2020 16:31:52 +0000 (17:31 +0100)
commit31a2a3292139d620e2ecb469925ece2e67ced5ff
tree1da3b25f9da82232a3725e6a74b8af9161230354
parent914d66312d46d877f2d306c1c940ee52b525ba1e
fbdev: remove object duplication in Makefile

The objects in $(fb-objs) $(fb-y) $(fb-m) are linked to fb.ko .

This line adds $(fb-y) to fb-objs, so the objects from $(fb-y) are
listed twice as the dependency of the module.

It works because Kbuild trims the duplicated objects from linking,
but there is no good reason to have this line.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200106081352.27730-1-masahiroy@kernel.org
drivers/video/fbdev/core/Makefile