From patchwork Mon Jul 3 08:42:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inki Dae X-Patchwork-Id: 9822227 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 CE0AA60246 for ; Mon, 3 Jul 2017 08:42:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C23E428396 for ; Mon, 3 Jul 2017 08:42:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B69642852D; Mon, 3 Jul 2017 08:42: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=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 306E428396 for ; Mon, 3 Jul 2017 08:42:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D59896E22E; Mon, 3 Jul 2017 08:42:37 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by gabe.freedesktop.org (Postfix) with ESMTPS id 855806E21D for ; Mon, 3 Jul 2017 08:42:36 +0000 (UTC) Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20170703084234epoutp02e47c1ac2f0b1347c077b6dd6d636607d~NxXRbIatG0863108631epoutp02A; Mon, 3 Jul 2017 08:42:34 +0000 (GMT) Received: from epsmges5p3.samsung.com (unknown [182.195.40.69]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20170703084234epcas1p2e5a4a6bff555f9bfade5cbd3a55d0d03~NxXRGejUY0722807228epcas1p2K; Mon, 3 Jul 2017 08:42:34 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p3.samsung.com (EPCPMTA) with SMTP id 84.08.04762.A730A595; Mon, 3 Jul 2017 17:42:34 +0900 (KST) Received: from epsmgms2p2.samsung.com (unknown [182.195.42.80]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20170703084233epcas5p1077313e0d3a7c1fb7d8b2a3c23b19275~NxXQuR7wN2214622146epcas5p1P; Mon, 3 Jul 2017 08:42:33 +0000 (GMT) X-AuditID: b6c32a2e-f79746d00000129a-c3-595a037a4513 Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p2.samsung.com (Symantec Messaging Gateway) with SMTP id 33.AA.05071.9730A595; Mon, 3 Jul 2017 17:42:33 +0900 (KST) Received: from localhost.localdomain ([10.113.62.206]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OSI00LC9AUV6B10@mmp2.samsung.com>; Mon, 03 Jul 2017 17:42:33 +0900 (KST) From: Inki Dae To: dri-devel@lists.freedesktop.org Subject: [PATCH 12/14] drm/exynos: mic: clean up drm_bridge_add call Date: Mon, 03 Jul 2017 17:42:28 +0900 Message-id: <1499071350-25168-13-git-send-email-inki.dae@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1499071350-25168-1-git-send-email-inki.dae@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrNKsWRmVeSWpSXmKPExsWy7bCmpm4Vc1SkwfcHHBa9504yWTR1vGW1 aDp0is2icfc2dovlZ9YxW1z5+p7NYtL9CSwO7B6X+3qZPBbvecnkcefaHjaP7d8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l5H4Wj74tqxgD2KPcbDJSE1NSixRS85LzUzLz0m2VQkPcdC2UFPISc1NtlSJ0fUOClBTK EnNKgTwjAzTg4BzgHqykb5fglnHn/nW2gpnsFd8e7mNvYOxj62Lk5JAQMJFYsXQyK4QtJnHh 3nqgOBeHkMBqRombq6+zQzg/GCWerOtjBqliE1CVmLjiPli3iICyxN+JqxhBipgF5jBKLHnW CzZKWMBFYtPpY2ANLCAN64+zgNi8Aq4S7a/3Qa2Tkzh5DGI1J1B86tcbYPVCQL3Xjl5kncDI u4CRYRUjV2pBcW56brFRgdEmRmBAbzusFbCDselc9CFGAQ5GJR7eF8WRkUKsiWXFlbmHGCU4 mJVEeGUZoiKFeFMSK6tSi/Lji0pzUosPMZoCnTKRWUo0OR8YbXkl8YYmlkYmBmZmhkYGxmZK 4rwTAr9ECAmkJ5akZqemFqQWwfQxcXBKNTBq37XVXbUtrkzZWNvcervNYwO9nIvX355qOVzr vjjX8y5T8dl/Z45Oyc3+FnzcqMM3ZL3hrstTyh+z+E9ffYZL8xqD5bcpbtyRdT73v/0odmTn PRR95fu0sx6L98n/8paRVo3dyXbVKWu+WcKf0kfTzY1ZYrNM+NrPJzi9zeFWV3mjwhWaKKXE UpyRaKjFXFScCAC6EipEfgIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170703084233epcas5p1077313e0d3a7c1fb7d8b2a3c23b19275 X-Msg-Generator: CA X-Sender-IP: 182.195.42.80 X-Local-Sender: =?UTF-8?B?64yA7J246riwG1RpemVuIFBsYXRmb3JtIExhYihTL1fshLw=?= =?UTF-8?B?7YSwKRvsgrzshLHsoITsnpAbU2VuaW9yIEVuZ2luZWVy?= X-Global-Sender: =?UTF-8?B?SW5raSBEYWUbVGl6ZW4gUGxhdGZvcm0gTGFiLhtTYW1zdW5n?= =?UTF-8?B?IEVsZWN0cm9uaWNzG1NlbmlvciBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG1RFTEUbQzEwVjgxMTE=?= CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20170703084233epcas5p1077313e0d3a7c1fb7d8b2a3c23b19275 X-RootMTR: 20170703084233epcas5p1077313e0d3a7c1fb7d8b2a3c23b19275 References: <1499071350-25168-1-git-send-email-inki.dae@samsung.com> Cc: daniel.vetter@intel.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This patch removes unnecessary checking of return value. Ps. this patch depends on below one, http://www.spinics.net/lists/dri-devel/msg145687.html Signed-off-by: Inki Dae Acked-by: Inki Dae --- drivers/gpu/drm/exynos/exynos_drm_mic.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_mic.c b/drivers/gpu/drm/exynos/exynos_drm_mic.c index 5ea6e3d..07bd7fc 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_mic.c +++ b/drivers/gpu/drm/exynos/exynos_drm_mic.c @@ -458,11 +458,7 @@ static int exynos_mic_probe(struct platform_device *pdev) mic->bridge.funcs = &mic_bridge_funcs; mic->bridge.of_node = dev->of_node; - ret = drm_bridge_add(&mic->bridge); - if (ret) { - DRM_ERROR("mic: Failed to add MIC to the global bridge list\n"); - return ret; - } + drm_bridge_add(&mic->bridge); pm_runtime_enable(dev);