Message ID | 1489560737-9695-1-git-send-email-gnuiyl@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8BD6B6048C for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 15 Mar 2017 07:08:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7506F28395 for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 15 Mar 2017 07:08:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 696B0285DC; Wed, 15 Mar 2017 07:08:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0577728395 for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 15 Mar 2017 07:08:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6C4A46E7EA; Wed, 15 Mar 2017 07:08:50 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 957 seconds by postgrey-1.35 at gabe; Wed, 15 Mar 2017 07:08:47 UTC Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0078.outbound.protection.outlook.com [104.47.34.78]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9719A6E7EA for <dri-devel@lists.freedesktop.org>; Wed, 15 Mar 2017 07:08:47 +0000 (UTC) Received: from DM5PR03CA0055.namprd03.prod.outlook.com (10.174.189.172) by BN1PR03MB186.namprd03.prod.outlook.com (10.255.200.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.961.17; Wed, 15 Mar 2017 06:52:45 +0000 Received: from BL2FFO11FD047.protection.gbl (2a01:111:f400:7c09::123) by DM5PR03CA0055.outlook.office365.com (2603:10b6:4:3b::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.961.17 via Frontend Transport; Wed, 15 Mar 2017 06:52:44 +0000 Authentication-Results: spf=softfail (sender IP is 192.88.158.2) smtp.mailfrom=gmail.com; linux.ie; dkim=none (message not signed) header.d=none; linux.ie; dmarc=fail action=none header.from=gmail.com; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning gmail.com discourages use of 192.88.158.2 as permitted sender) Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD047.mail.protection.outlook.com (10.173.161.209) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.961.10 via Frontend Transport; Wed, 15 Mar 2017 06:52:43 +0000 Received: from victor.ap.freescale.net (victor.ap.freescale.net [10.192.241.62]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v2F6qepu017447; Tue, 14 Mar 2017 23:52:41 -0700 From: Liu Ying <gnuiyl@gmail.com> To: <dri-devel@lists.freedesktop.org> Subject: [PATCH] drm/imx: Remove unneeded definition for structure imx_drm_component Date: Wed, 15 Mar 2017 14:52:17 +0800 Message-ID: <1489560737-9695-1-git-send-email-gnuiyl@gmail.com> X-Mailer: git-send-email 2.7.4 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131340343641490523; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39380400002)(39850400002)(39410400002)(39860400002)(39400400002)(39450400003)(39840400002)(2980300002)(199003)(189002)(9170700003)(48376002)(55446002)(6666003)(50986999)(73972006)(82202002)(36756003)(50466002)(6916009)(2351001)(76482005)(81442002)(5660300001)(106466001)(33646002)(87572001)(104016004)(105596002)(2906002)(189998001)(6260500002)(77096006)(38730400002)(5003940100001)(54906002)(86362001)(4326008)(73392002)(8936002)(50226002)(110136004)(61266001)(8676002)(53936002)(356003)(81166006)(305945005)(83322999)(47776003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR03MB186; H:az84smr01.freescale.net; FPR:; SPF:SoftFail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD047; 1:5nsuGkCYDPEkgcSb8dV6JjtEIEzIm3vXBsKXrBtq0nJ7r83UzfWP2JTLWRIonmFMf+yYO/aZYexGvTw5mYzMRKZOlhceFwxi6RWycYbrWF+Fqanb2iISipoxULI1/y9Mqr+iFp8wna2kmK/O6hXfukIaGkTaqQuLFk/n9uh+poMlBOpTjf3GRqiQs9B1lVB7yaWv9oRFwyRFmD1UsA5DT96n1AFNEl1wditzWnKUOMg8DUnEoS7oUVs/dCjKr3fizDItTotEfb0ec8SlcfckurEsXWogh9PdvmAl7HKOLZ/tLwSrv8msbZL/O2s2vr41CjDLIXIVqJrxmnMqP5tCdn9ojR0WsS8TXFJPfw/z+K4fF1BkY34TWuFD1watO7SkfwwEOHeTOYo6h28/U+ynev/XbOSjjviCbxduT1k/d1KJ1urMMGeFyi/j4oDdVgdYfGgBbjklomEcLN/uufqhhIWHWtFp/z/Y/6KOmkF7nPDIg4m/eQ8mfus7s+nRGSi9Bbwg/SMUyzo5uJzYtSJDf4a9Ze7ZrAnjQDLYAfu8Vc429+4gJWMFH2iEWSnFyzSY+F/PZCnBh+Kx0B7jhiQN6A== MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 59d2dad3-7a1f-410d-62fc-08d46b6fe1e2 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BN1PR03MB186; X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB186; 3:5aWU0Py5H4L/AlDOk/gl14xzrIzcOrkeuwbjvrQ47u33bPqRf8ACf8XsDvbEbI85N9JTnSINZcJGf88BpZkWjqceNV08kr0R8Z35g2zkcCwEz1x43niD4VKzPtU3tHfeUEspzQh/U5+RfkteyYqXT7i8Xa+HssC9x0+IEkUgYkTdtEtV61SLN+HsQlGmZm8trDvxAxH7MF6Z8m5gTlsh8l5UmcWX8CfTTHG7d0AYxgbcKCjcSosaUoqwKadeEu6SZKaU612HmzvDF33TgCW8Qr4yafk7kFCIUgo21m4CDdPk78GLrs8ITRKirJ98W2+sioTEIG+lJTbRURKjQSUnrZBTdThoIMpW2Pk8b5BJmGk=; 25:+/q9idAM6DQZN50zr84KkyuZKg6Dd7mIivBvr6N8m6/qnOrwizF1vIKwKgCs3FNmcTHoyvnJAkaZuBM9Kyg8Owf2Ka/aAmHgBqoctrCtgPH1GMLQPRTkCWPU1d1UBd/zAjf7V5UkH8Q33XbBwjuvZiJB+G9zJ6PFBzJBl3x1OXToLVuUz2w/89xcpRrbuZFpmXvGSCN/8zUEFuHYceTBB/p0bLvxUqjXAm81EeEYoFjqmlzHVwWst1IhzrKUVMPsQwDdAUarGYhqVozfBBN/fxIsq3h8xzpb8SThy9wSoOyz6g2Tj1hbqMOPz9qyLMbfqlgdD9PJqINWYIcwIpAdz/Q5hh6V3uneNLtPjCxjsFgxM5cdRMdWtXYVXsRB0r5/hrkhF89X1by5hwWttAMQo5RuKPkj3IqcoZ1GFwA652t26oNGQ3cjC9TwY/dnP4WdfDHH+SS6AiyQYzKcI6FlEQ== X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB186; 31:tJkttjjyCXBRmChz4nodSwRAaoO24N0G7gRyTql4GqEpnT6X4fKGBY8v+dPLPWkKhwv3LWgAg4Y2sX7CNKfKEPLyFC6bnD/nk7TclDztpnKaXL2eBepYnau0zpOF1WyZsL7qdLZHvGpiQId6bbhhowhZ5SKFmm/4XVGK85RMtuPsJTdEqDS/eOkrPH+nJe3sGvcWgPD5o1HubeMh//o3RV1sOq1pZulyBoYUi8GFcYQVI1SrrnDktBfMqx7YsYR7bBiq3fF/9lcfIcEpC7n7rKf8bwmwa2ibAkwzkQb02lk= X-Microsoft-Antispam-PRVS: <BN1PR03MB186215C2DDBF6DD16B7F39EDB270@BN1PR03MB186.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13017025)(13024025)(13023025)(13015025)(8121501046)(5005006)(13018025)(10201501046)(3002001)(6055026)(6096035)(20161123561025)(20161123563025)(20161123556025)(20161123559025)(20161123565025); SRVR:BN1PR03MB186; BCL:0; PCL:0; RULEID:(400006); SRVR:BN1PR03MB186; X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB186; 4:PO6KTY5AFOEUi5YSbXkUfxcRCj430/rhAkx4/1Gp/8R6dvn0rSi0ZBxPivzSyAsseTHq3BQY+MKA1gqYc5eu03jWVeWlSdPk55Y+MdGrzKQUVvJ5j+KZfVwsAcjq44zeK3sdT8hQCd3a55U2r0/f8CnS7rWUVETK+1L+U8vgPb3DdKBPnOY31kCEpMSWotX9zTtn8Me9uqEHO1vTChzKwKS+twoMHK2W4uem9m1ARCS50W5382OL6FkDntUUJ6+c0KLZH6mUJwGt/XEY3wPelZFj92qrKqlkJ3JYdGbQrll6lexDJen57akqeE73hId1lmHFCu60ZXJ0alyAuEmkIC57jog2jUdHhLIHPUgUyuHUqvK2kfhYdqTUrd/Lh7rQuw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3LXHdkWFTTVCSIUsIUSKNGCdkev2PaSKugtB0s8pC6XVZ?= =?us-ascii?Q?fX5ufszTcbPh/N7fQUV7Y/Aq4C1XgQN0vxeTGSrUL0+eZlfjJ4HdUuD2piOY?= =?us-ascii?Q?+bL6fQDl4DINValWlTOmER/MyANSKw6sGCw/MjTOzM2EGG8kFLWnzYOOySXC?= =?us-ascii?Q?eK84jjHEw4XbPnxopH5HNEKeHo6fHV66DV/MOSfwf+zhOVwnoF91w1QjOoTm?= =?us-ascii?Q?Zl0chEgPMFVuFUuPlkaM8nBx0z2/boqbTtGnbq49ubD1QAxwHL415vusqDu+?= =?us-ascii?Q?H7/xjrJRAfhvtKVWjCj/85tlCUewsGT3v+4lvwXTiU+cGZxLItMcTiK+04ea?= =?us-ascii?Q?+fEPuDG7+G3eIOISqxK+UxFRoiOePxyUylQL3iFxfcdpxOoapirq4e6i+5eV?= =?us-ascii?Q?MzDnYlpVQDJ7hPvKfXBrG2Mg+RObT0RYO9cazvW3Jj+pTd7CyxadEykcM+yn?= =?us-ascii?Q?QpZdqaRWXjv4Da+A90BPlQ1wggbAH9D+Fscuf0GuT5IUyvJxDTo29Ricir0u?= =?us-ascii?Q?qVyFIEHDQAwo4iSKF+gCpSvajEP+AhzMV+7cJ1QTEcXRnKxFoHhwdqA2arQi?= =?us-ascii?Q?IB5udIYINkSx044sR47Km8Eq9LhnrUYwqQJveo1wY4GWG1fJprRnoAewEim/?= =?us-ascii?Q?7BEh7ZaHdEFhksmNjogc9iamwaBnyHs0QGLSvQtzSOhDOy0/ux1CoCE82ERS?= =?us-ascii?Q?xtNiR2SDSdIxiv/6VFJgWQjRchdLUuc4iDFpZuuZzPRV/PjYkcm8SkDmksvw?= =?us-ascii?Q?=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB186; 6:WCNkT6oBEjhFRyTnVk3gkiDfhjrWfC1pHXuDron2KZD/SFH1jThNdtK1+GjIfz2XapLAx9erl7u7EHdDT55x57LjcCltZlrt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X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Mar 2017 06:52:43.9150 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR03MB186 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
On Wed, 2017-03-15 at 14:52 +0800, Liu Ying wrote: > No one is using the structure imx_drm_component, so let's remove the > definition to save several lines. > > Signed-off-by: Liu Ying <gnuiyl@gmail.com> Thanks, applied to imx-drm/next. regards Philipp > --- > drivers/gpu/drm/imx/imx-drm-core.c | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c > index 9e7310e..8a043b5 100644 > --- a/drivers/gpu/drm/imx/imx-drm-core.c > +++ b/drivers/gpu/drm/imx/imx-drm-core.c > @@ -34,11 +34,6 @@ > > #define MAX_CRTC 4 > > -struct imx_drm_component { > - struct device_node *of_node; > - struct list_head list; > -}; > - > struct imx_drm_device { > struct drm_device *drm; > unsigned int pipes;
diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c index 9e7310e..8a043b5 100644 --- a/drivers/gpu/drm/imx/imx-drm-core.c +++ b/drivers/gpu/drm/imx/imx-drm-core.c @@ -34,11 +34,6 @@ #define MAX_CRTC 4 -struct imx_drm_component { - struct device_node *of_node; - struct list_head list; -}; - struct imx_drm_device { struct drm_device *drm; unsigned int pipes;
No one is using the structure imx_drm_component, so let's remove the definition to save several lines. Signed-off-by: Liu Ying <gnuiyl@gmail.com> --- drivers/gpu/drm/imx/imx-drm-core.c | 5 ----- 1 file changed, 5 deletions(-)