From patchwork Mon Jul 3 08:42:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inki Dae X-Patchwork-Id: 9822233 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 3836B60246 for ; Mon, 3 Jul 2017 08:43:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B5E328396 for ; Mon, 3 Jul 2017 08:43:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1EE122852D; Mon, 3 Jul 2017 08:43:14 +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 B007528396 for ; Mon, 3 Jul 2017 08:43:13 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5BBF06E230; Mon, 3 Jul 2017 08:42:38 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9B3036E21A for ; Mon, 3 Jul 2017 08:42:36 +0000 (UTC) Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20170703084234epoutp015a89397340d1288387f1cba0148417c0~NxXRCe_aQ0058000580epoutp01z; Mon, 3 Jul 2017 08:42:34 +0000 (GMT) Received: from epsmges5p1.samsung.com (unknown [182.195.40.67]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20170703084233epcas1p2f943f6715f7cc94d2137469e205eced7~NxXQ1h9Qj0741907419epcas1p2M; Mon, 3 Jul 2017 08:42:33 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p1.samsung.com (EPCPMTA) with SMTP id 8A.08.04764.9730A595; Mon, 3 Jul 2017 17:42:33 +0900 (KST) Received: from epsmgms2p2.samsung.com (unknown [182.195.42.80]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20170703084233epcas5p19dc746895c958002918b127536a7e1f9~NxXQnIsBH1986319863epcas5p1f; Mon, 3 Jul 2017 08:42:33 +0000 (GMT) X-AuditID: b6c32a2c-f79e76d00000129c-fb-595a0379df82 Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p2.samsung.com (Symantec Messaging Gateway) with SMTP id 23.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 11/14] drm/bridge: ti-tfp410: clean up drm_bridge_add call Date: Mon, 03 Jul 2017 17:42:27 +0900 Message-id: <1499071350-25168-12-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+NgFjrFKsWRmVeSWpSXmKPExsWy7bCmhm4lc1Skwd2nxha9504yWTR1vGW1 aDp0is2icfc2dovlZ9YxW1z5+p7NYtL9CSwO7B6X+3qZPBbvecnkcefaHjaP7d8esHr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P7d8esHrc7z7O 5NFycj+LR9+WVYwB7FFuNhmpiSmpRQqpecn5KZl56bZKoSFuuhZKCnmJuam2ShG6viFBSgpl iTmlQJ6RARpwcA5wD1bSt0twy5h18wtrwRbWiltL3rA0MO5l6WLk5JAQMJE4fK+fGcIWk7hw bz1bFyMXh5DAakaJSc3zmCGcH4wST9b1gVWxCahKTFxxnw3EFhFQlvg7cRUjSBGzwBxGiSXP ellBEsICXhJzDn9lBLFZgBoap7WA2bwCrhIH/i5gglgnJ3Hy2GSwek6g+NSvN8AWCAm4SFw7 epF1AiPvAkaGVYxcqQXFuem5xUYFRpsYgQG97bBWwA7GpnPRhxgFOBiVeHhfFEdGCrEmlhVX 5h5ilOBgVhLhlWWIihTiTUmsrEotyo8vKs1JLT7EaAp0ykRmKdHkfGC05ZXEG5pYGpkYmJkZ GhkYmymJ804I/BIhJJCeWJKanZpakFoE08fEwSnVwHjF+pTsnmdaplk/2NjLmm5/F9d8wntk 0ZV+PtM5/7a9DtvFleRhN9djb17+f6GJtoVnYqbYzNr9ltPJfLGP0ZcdkWlrojbPLPUSn2H5 2vwqp4fNOt697y6dPL/0xM9XM+8v+GWiw2rI8maC39fJjr7Tk+tkxH95Hf3Q9uQZ+43Neldq f5d5WBUpsRRnJBpqMRcVJwIAg6P/MX4CAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170703084233epcas5p19dc746895c958002918b127536a7e1f9 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: 20170703084233epcas5p19dc746895c958002918b127536a7e1f9 X-RootMTR: 20170703084233epcas5p19dc746895c958002918b127536a7e1f9 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. Signed-off-by: Inki Dae --- drivers/gpu/drm/bridge/ti-tfp410.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/gpu/drm/bridge/ti-tfp410.c b/drivers/gpu/drm/bridge/ti-tfp410.c index eee4efd..7ea2a15 100644 --- a/drivers/gpu/drm/bridge/ti-tfp410.c +++ b/drivers/gpu/drm/bridge/ti-tfp410.c @@ -237,11 +237,7 @@ static int tfp410_init(struct device *dev) } } - ret = drm_bridge_add(&dvi->bridge); - if (ret) { - dev_err(dev, "drm_bridge_add() failed: %d\n", ret); - goto fail; - } + drm_bridge_add(&dvi->bridge); return 0; fail: