From patchwork Mon Jan 6 08:13:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 11318803 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7AEA31398 for ; Mon, 6 Jan 2020 08:24:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4E9F8215A4 for ; Mon, 6 Jan 2020 08:24:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578299067; bh=yXPZEzyEe2lxjvA9yBEPFaWlEE97rNZigqPuHXUfQhI=; h=From:To:Cc:Subject:Date:List-ID:From; b=047MEPHAhlXiA7rm+Pax5PLAZucbQZiWvqOkMwKTYX5UMh5BkyF0HA1IqoUesEMNw oHiZYtk8Gef6lLebT/7P4VIRA2yvNC6w1NaDWSufdQjr78m4COGoawqZF6SCar+3tw o22Cn4cx/wpm/IHdxujNHDrK3353z7U7KZw8RyPg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725908AbgAFIY1 (ORCPT ); Mon, 6 Jan 2020 03:24:27 -0500 Received: from condef-01.nifty.com ([202.248.20.66]:52901 "EHLO condef-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725446AbgAFIY0 (ORCPT ); Mon, 6 Jan 2020 03:24:26 -0500 X-Greylist: delayed 335 seconds by postgrey-1.27 at vger.kernel.org; Mon, 06 Jan 2020 03:24:26 EST Received: from conuserg-08.nifty.com ([10.126.8.71])by condef-01.nifty.com with ESMTP id 0068EWXZ030170 for ; Mon, 6 Jan 2020 17:14:37 +0900 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id 0068E04v010428; Mon, 6 Jan 2020 17:14:00 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com 0068E04v010428 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1578298441; bh=LH1doj3R4Ug6XaJ/DgmUbm4M2ESZKsoWMh5zD0tz1YE=; h=From:To:Cc:Subject:Date:From; b=m26R16tOyel28hSLnHaltw9doTTzbohPc9gFdR4ojFcp63lK7CBwrnXxTICgQ6cCY qdyG/vNNUeJu1cOmuzWAAhHw3+HbAlKACSx3BKSxH4sQ+Uim46VfYmy1jxXIKKXLWr +P/DIgceu3vdICR1pJ0Md3xpbMnCNk0i/m3NfPumPn+3cOM29/tNVyrAR4nwp8gnYV yHJKIzTG7T8mnusCZMX9IWxfwENUszPu2C/5gWSjeTVm1H3X2CTfJUyZaEXWj/tZ+o 4f55/w1tWDd/PCFwSdReMbwOzNvE6frXOM7fwduZPUiNyWl5cZWhU7xCrvoZ2VCXxc stNI/eUNF7fYw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Bartlomiej Zolnierkiewicz , dri-devel@lists.freedesktop.org Cc: Masahiro Yamada , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] fbdev: remove object duplication in Makefile Date: Mon, 6 Jan 2020 17:13:52 +0900 Message-Id: <20200106081352.27730-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.17.1 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org 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 --- drivers/video/fbdev/core/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/core/Makefile b/drivers/video/fbdev/core/Makefile index 37710316a680..26cbc965497c 100644 --- a/drivers/video/fbdev/core/Makefile +++ b/drivers/video/fbdev/core/Makefile @@ -16,7 +16,6 @@ fb-y += fbcon_rotate.o fbcon_cw.o fbcon_ud.o \ fbcon_ccw.o endif endif -fb-objs := $(fb-y) obj-$(CONFIG_FB_CFB_FILLRECT) += cfbfillrect.o obj-$(CONFIG_FB_CFB_COPYAREA) += cfbcopyarea.o