From patchwork Tue Mar 27 21:39:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leonard Crestez X-Patchwork-Id: 10317667 Return-Path: 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 989646055B for ; Fri, 30 Mar 2018 12:46:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 885D92A414 for ; Fri, 30 Mar 2018 12:46:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7B8D62A419; Fri, 30 Mar 2018 12:46:36 +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, 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 04EFB2A414 for ; Fri, 30 Mar 2018 12:46:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0022F6E856; Fri, 30 Mar 2018 12:46:33 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0043.outbound.protection.outlook.com [104.47.33.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id B747689F77 for ; Tue, 27 Mar 2018 22:55:46 +0000 (UTC) Received: from MWHPR03CA0019.namprd03.prod.outlook.com (10.175.133.157) by BY2PR03MB394.namprd03.prod.outlook.com (10.141.141.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.609.10; Tue, 27 Mar 2018 22:55:44 +0000 Received: from BY2FFO11FD004.protection.gbl (2a01:111:f400:7c0c::156) by MWHPR03CA0019.outlook.office365.com (2603:10b6:300:117::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.609.10 via Frontend Transport; Tue, 27 Mar 2018 22:55:44 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; lists.freedesktop.org; dkim=none (message not signed) header.d=none;lists.freedesktop.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD004.mail.protection.outlook.com (10.1.14.158) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.527.18 via Frontend Transport; Tue, 27 Mar 2018 22:55:43 +0000 Received: from localhost.localdomain (fsr-ub1664-115 [134.27.109.22] (may be forged)) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id w2RLdq2L000830; Tue, 27 Mar 2018 14:39:52 -0700 From: Leonard Crestez To: Philipp Zabel , Shawn Guo Subject: [PATCH] drm/imx: Remove last traces of struct imx_drm_crtc Date: Wed, 28 Mar 2018 00:39:47 +0300 Message-ID: X-Mailer: git-send-email 2.7.4 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131666649447769974; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:CAL; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(7966004)(39860400002)(346002)(39380400002)(396003)(376002)(2980300002)(1110001)(1109001)(339900001)(199004)(189003)(81166006)(104016004)(50226002)(49486002)(8676002)(8936002)(81156014)(4326008)(2906002)(575784001)(86362001)(68736007)(16586007)(97736004)(476003)(51416003)(126002)(107886003)(956004)(110136005)(6666003)(85426001)(316002)(336012)(2616005)(54906003)(356003)(5660300001)(118296001)(53936002)(26826003)(305945005)(50466002)(508600001)(1857600001)(486005)(105606002)(47776003)(26005)(48376002)(106466001)(36756003)(486005)(42866002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB394; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD004; 1:BqR6n3YRTx4ixRjkBZ+J678nbvkrzn/+Kxa7M1Phqi1oDCttJk9EcnZLsaNAAUatjrLH3RQcbp2lEujN5NTmuF7tTs2GYtrM9gl5N7wJ/wxx8VovOn7ni8gQKDiHbsGO MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f128152d-fa0f-4b15-4615-08d59435df8e X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(5600026)(4604075)(2017052603328); SRVR:BY2PR03MB394; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB394; 3:v0IqncmyFIcpq+TFVjSBr/V0AIUTEojrmnE0k2V5MvTFR4J+kRna9wkADZKvcDwmPAv0yuoiE4MZealGJDp3QtczdtgYeaFHL+rDhqRbuNvNyIA98QAkFkvhWBhzZ6z6t3ZiiU0wVHkycl/MwzG/1lQfuRdNDKZpY0cR7xGlmpCZPdzEzSeo3tKQOyMe1OgVHGvveqEkPtB/9oEo9mdrh6/Vt+EtIGDB83zSvoYO0baKM49WkgTaOF03YRPWOBHz263uYh2k8mQf2KAxOn5w8p0Y4b78YXGy67CI8gnu562D3BBjxfQq6DjSDGP3Ts0v/+zxVMtsamsxWhg7nArSQymJotE4AThwxkUzsRDmNVo=; 25:CqyPp9wF22MF3D3o/j9xhE4YJE2w4RE5RvgvA9j93OZjTCZ/qWgwQhK8klir/ooyS8bxLwLqBNC2MIAYSB0uOSm1WJ44Gbp4EL0Wl85eVr6P42eb75jU+or3Q1JJiObhTV0t9EacrjfCeOdJaeZcvQ7OnFvD+VOYl/GRYhbnFyJH+jT+DILlkqjLA7YKfhH4gK3TQ9mTjs+p5jayL3HRauTKGPiIhLWN1mmzHqClY0jjRQQeP83KdeA2zoCY50wFsQK9PIE4CGezNzBCOgmIF8xLwlhY6TWWeCDbkWUvYe8H+cq/x7qFdPMi/IEQ/o6Hr/cVblxOhheOtU1LVgaQrKA1T0O8WwbLEM92bYDzxvY= X-MS-TrafficTypeDiagnostic: BY2PR03MB394: X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB394; 31:PEVEpvzOCTPm8gbCW9zJurX6Qn0qtzOaoC/kWYpQj3VAXMK/XI2XCeYYCVe2ZrlhlXGJCM2I67gLtz/HJ/5KcwSWvJXOUyExaVwh7uRt5ZLblalgXcd9yZc00q8aZUFxjgTyM0vkGJF+Q8QR1gZ+mvejLQdd67KuFsKlg6J8HZHovt2Z9/5ya4MkFGu9ONPu+kBApWcsugCr8rpwxvI3WwE6MGaW2B2eTetGd79w950=; 4:qF1bvpd3jYBSnVjQDg4yPPS4ksREeOMZU6YQctKj6tKMKQSwsf04yFTQhbxNV4VbFNYqgzrGYWNmsxshLgdKmteAWw9mU+DXuL6k0+QJc9aZ9P9xh+OxnURp0Ja/L+stYB8nn5pLNG0aNcW0eGXece0GYLcU87Ie8SDO9+xurzwC6/k2rmVSJHUilWWWoy82EIGCYl7XOOM1yJTzKWveLvMsVVf1TvlcbW8fWDGNbjOPgFuGjJvhOpvSh0VFRUUeK2DFfypMzrmNOkjI0DBVh0VpRyaNWmIMdSCXlIGX6vl8cfFMnDvmJp2WcN+7pp33 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(3231221)(944501327)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(6096035)(20161123565025)(20161123563025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(20161123561025)(20161123556025)(20161123559100)(201708071742011); SRVR:BY2PR03MB394; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR03MB394; X-Forefront-PRVS: 0624A2429E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR03MB394; 23:eXQ3B6aK8qc1zUCr1DS2DNmArLv3XWGTG11ZrzDyA7?= =?us-ascii?Q?0YBpBzwrOiZj+BiC7r1mRQdkATKVyA+phfoplfDnLGt/fO8r8r3+mmYn3s4Y?= =?us-ascii?Q?xkXe1y5uT6if3CNairi9rSOFwWrWDIfhUMz4yt9mEdgs2KkA3rYBsXK2Yyv/?= =?us-ascii?Q?+GOpZbRZIC864zPtlYkLfg+IPTwyyk1gkhWQA2kwWm88UoxNWF/hCKqHAyxX?= =?us-ascii?Q?NkbQVqZjyt5ntm6QJzusrYtka20r4QidtWXwwl2DTc6cduF0KQpl0d2DMNze?= =?us-ascii?Q?4frdL7886wt2jrZ5fL39eO90B4UwTC2mfy0weogRi684QhkH3rEF9kCo8u86?= =?us-ascii?Q?lRSA7JQnylPdWd0LMuVa+W/mihwsMn8xwIqZ57wjJrIRW8qys3NcO05Kno7l?= =?us-ascii?Q?sloEyFcQ4WorCkbo3Pl9FfafClqpb4uWNjA2kdxmMSXholTRoOscbQ/Y4l6W?= =?us-ascii?Q?e+ONG4wuW7KquGMy/Vh4lSuCAS4N2QXirOIpK7zSfbHOH+/7zmgDSMazpG+C?= =?us-ascii?Q?bOcaRUF10gDvuv9yBWzsRd9cngzpkJjnVZ5mWFUHpvAk0sNWfor1T8/c/5nl?= =?us-ascii?Q?ykbk7kXA7c0jDXk8Zexa3HQ9ic+ki8ys5jyIFmJvwq4eANzlT3G3GAkuVqMY?= =?us-ascii?Q?gX8LPsGSYpwz1psq1aG2GMu1qGzADHwse0w1IdYQlGstoj4stDYhJM+RAOGb?= =?us-ascii?Q?td56uBOhEd0xwKO+w+EebQWZffpJzY1/HJDrK1Tns1ud5Vugl5L5CJz0tVXs?= =?us-ascii?Q?PagYN1MNVUme6RApNs+VoZ3F4OtAMCmMkVD1nOOduwBWRsWVuTkIcgYCeF9J?= =?us-ascii?Q?a/I0/w3/IeZnsSqVcwDObz9F7J+kKr9KUbJ/962+ZqqrvjTXumHwYn/HOAdF?= =?us-ascii?Q?OieA9LUtx/VPoRwRD/dJ/8RnTQDI89DWP8UTbMOk2zjzX19EuVEgWQU+R1T+?= =?us-ascii?Q?/jTAnuIgyx4thwEXWCC9/SbNvXOSPwlpNaWrslPkAC0kBzY6y0Ypk4yjUGOp?= =?us-ascii?Q?RiMpH3H02o2wfZgfjH2FmrMMVEKhxIG+v38Mp7RLg3ZMraIReTwWLTgqTSPr?= =?us-ascii?Q?qjl6eJzSce3fDq006sAJaGc3cDBqifOw5NU7zJ95zufIBSgENUwml7y3UCki?= =?us-ascii?Q?d7X+vfZSRzVRULnCUpRk0HclmQZhCvFlkPPT1lx8eah4Pmyly99NZ4V0lt02?= =?us-ascii?Q?OuIdcOoSZw1CDTKpIL1QKWt8mV725k5QaP1gxd2w6LWUOsnGGq8laiHsJP2z?= =?us-ascii?Q?fdfF4aAbPm0fk91++ao2pajPr2y1C79GQAS7qN?= X-Microsoft-Antispam-Message-Info: W63ayzlgo5QsfiWrCgKD0SJi8VFc8lG5FLrXtKUYurIsTLR41bTV4ESf87SD0Yuwi7J4FxmZD4dtWE5kuUNomK8tH3+eRpdygROSN7rerPaEWVarhqW3oJYXQOYcSzb7/nemqS/a5hPxkqrSFieIfnq3wkKzS542NrzMnzehCdhEzFDJUN7mrUX7najFj1EV X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB394; 6:cfq4HHnykmJOx+xk5EvspCSsmUiZ76tp06D3LDrZb1wwnUsJr5BVhhX7aAGUpgVxw8d7bOoq1mT+CsZpb7LWFJWE/HoGoN3qBwXaY/mc0dgKR4sGkwfCqRO0vrWMXzjPA0oisWi86CEYx7shTwShNHrYVOyMDLPaQwWPFam8Xh1wO7uRtxTchsDQtySKvzzk9RtJIB7yNXezasweeX736X9OKFLgMHsvtORXP3C+uSCP5m4arg/VlEEG7ta4Lm+ob0VC6q5C+WdJZlq9akec9Bnw9RiZAPgLiAWRInJ8AkgKi2Al6t7W7XRTosyK5gaF5AGp/BVtnKXC46Ffkbgm6y5QIA4abCt8+GgnBz5wKMW6Zb9Kkerwv9GjK2hO5npXKZzMq6g7vWAn8ZEcBxuoqfyYwjsySOJ1yr/zO2yaXl+4H9sPQy4WQYYzhuPRG83DKcgWwaQcGXOY+cI7eSPHSg==; 5:elMyxxeRgsbBazbHMzJUP2PI8YAF2nyfV/v4xtN1ZQ6p2lMixTyVEBOMKaWx0w7ajd/kQk663J6SEJYL8sVmYHsj2i33tuPpQThqh+/JiyhIWEtsJy6rc4z1mH5TLb/NEmZ4oPeC9uaePw/V399HZMjla3nSUPdkIwg6OLcpuN0=; 24:gwmXaJkXOzY9hE4NnDfPm3RivuTnXsBVH2qetMvR77RI1up/iyJ35Haje+gd1e6il4a17q/+L/x1UXL3xpvrJT9st09eVvx7+Tky/PYknJ8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB394; 7:3NweBp+KaxQBSEekO0Wj8MCGr3LWchNCjp2+ungoNL4zh5UQZ5PKBYasvl1YtBN10oySzTKREbsUiGRhwe0TCKiFy4CpfYZmyRjPDtE2lLrHukf6o2dBHBn2VDfrYlLDZiQDsOgwMUFLRqHAyZqxcIsYhK24AoIp2AdHrYnHAWkngC0bPgyLFDybSXsin8mfVoJNDfij7HXo67SCOWGhzuW++SPjTlBVvWBkZ4kL5jP+frlkL5NAI0T9Ep1hpUAL X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Mar 2018 22:55:43.5913 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f128152d-fa0f-4b15-4615-08d59435df8e X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB394 X-Mailman-Approved-At: Fri, 30 Mar 2018 12:45:42 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP When the definition of this struct was removed a forward declaration and an unused struct member were still left around. Remove them because they serve no purpose. Fixes 44b460cfe554 ("drm: imx: remove struct imx_drm_crtc and imx_drm_crtc_helper_funcs") Signed-off-by: Leonard Crestez Reviewed-by: Fabio Estevam --- drivers/gpu/drm/imx/imx-drm.h | 1 - drivers/gpu/drm/imx/ipuv3-crtc.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/gpu/drm/imx/imx-drm.h b/drivers/gpu/drm/imx/imx-drm.h index 15c2bec..ab9c6f7 100644 --- a/drivers/gpu/drm/imx/imx-drm.h +++ b/drivers/gpu/drm/imx/imx-drm.h @@ -10,7 +10,6 @@ struct drm_display_mode; struct drm_encoder; struct drm_framebuffer; struct drm_plane; -struct imx_drm_crtc; struct platform_device; struct imx_crtc_state { diff --git a/drivers/gpu/drm/imx/ipuv3-crtc.c b/drivers/gpu/drm/imx/ipuv3-crtc.c index e83af0f..50d9f2bb 100644 --- a/drivers/gpu/drm/imx/ipuv3-crtc.c +++ b/drivers/gpu/drm/imx/ipuv3-crtc.c @@ -35,7 +35,6 @@ struct ipu_crtc { struct device *dev; struct drm_crtc base; - struct imx_drm_crtc *imx_crtc; /* plane[0] is the full plane, plane[1] is the partial plane */ struct ipu_plane *plane[2];