From patchwork Mon Jul 3 08:42:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inki Dae X-Patchwork-Id: 9822229 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 5747D60246 for ; Mon, 3 Jul 2017 08:42:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4AE2028396 for ; Mon, 3 Jul 2017 08:42:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3F3AC2852D; Mon, 3 Jul 2017 08:42:59 +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 DED8228396 for ; Mon, 3 Jul 2017 08:42:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 864076E229; 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 DAED96E223 for ; Mon, 3 Jul 2017 08:42:35 +0000 (UTC) Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20170703084233epoutp02016ccbc74b319be1a3c90013c47470d2~NxXQyiXMz0863208632epoutp029; Mon, 3 Jul 2017 08:42:33 +0000 (GMT) Received: from epsmges5p3.samsung.com (unknown [182.195.40.67]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20170703084233epcas1p3b913c9bb9cfcca318011b53569fa3118~NxXQc0kz80069200692epcas1p3X; Mon, 3 Jul 2017 08:42:33 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p3.samsung.com (EPCPMTA) with SMTP id 53.08.04762.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 20170703084232epcas5p10533a8a34ffa39dd126098ed08383df9~NxXP8_JpA1986919869epcas5p1W; Mon, 3 Jul 2017 08:42:32 +0000 (GMT) X-AuditID: b6c32a2e-f79746d00000129a-c0-595a03796e1c Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p2.samsung.com (Symantec Messaging Gateway) with SMTP id A1.AA.05071.8730A595; Mon, 3 Jul 2017 17:42:32 +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:32 +0900 (KST) From: Inki Dae To: dri-devel@lists.freedesktop.org Subject: [PATCH 07/14] drm/bridge: ps8622: clean up drm_bridge_add call Date: Mon, 03 Jul 2017 17:42:23 +0900 Message-id: <1499071350-25168-8-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+NgFjrLKsWRmVeSWpSXmKPExsWy7bCmpm4lc1SkwZ6Z0ha9504yWTR1vGW1 aDp0is2icfc2dovlZ9YxW1z5+p7NYtL9CSwO7B6X+3qZPBbvecnkcefaHjaP7d8esHrc7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Wj74tqxgD2KPcbDJSE1NSixRS85LzUzLz0m2VQkPcdC2UFPISc1NtlSJ0fUOClBTK EnNKgTwjAzTg4BzgHqykb5fglvG74wVjwRq2in2PZrE0MG5m7WLk5JAQMJFY/fwtM4QtJnHh 3nq2LkYuDiGB1YwSH+48YQRJCAn8YJTYuE4fxGYTUJWYuOI+G4gtIqAs8XfiKkaQBmaBOYwS S571gk0VFnCXmPFxIVgzC1DD1HdvwWxeAReJt51dTBDb5CROHpsMVs8p4Cox9esNZohlLhLX jl5kncDIu4CRYRUjV2pBcW56brFRgdEmRmA4bzusFbCDselc9CFGAQ5GJR7eF8WRkUKsiWXF lbmHGCU4mJVEeGUZoiKFeFMSK6tSi/Lji0pzUosPMZoCnTKRWUo0OR8Ya3kl8YYmlkYmBmZm hkYGxmZK4rwTAr9ECAmkJ5akZqemFqQWwfQxcXBKNTAur2b6E9Qa8q3oQ5wTr8tng6idmvs7 N9axuzg2Hcv616GjOr9CiyWAJeeKkMREy6ksOg4cfMtsuJPnGm7bstjRT87L//6+vT0f+9ut Lzm3JER8bHKPe3dE1jNb84uK0wVX0WfrqqZmRWavdc1Z4fna9IvKw9p5O2azf286L2B669Yz hu+6W5RYijMSDbWYi4oTAUjGWdB9AgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170703084232epcas5p10533a8a34ffa39dd126098ed08383df9 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: 20170703084232epcas5p10533a8a34ffa39dd126098ed08383df9 X-RootMTR: 20170703084232epcas5p10533a8a34ffa39dd126098ed08383df9 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/parade-ps8622.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/gpu/drm/bridge/parade-ps8622.c b/drivers/gpu/drm/bridge/parade-ps8622.c index 6f22f9f..4f7725d 100644 --- a/drivers/gpu/drm/bridge/parade-ps8622.c +++ b/drivers/gpu/drm/bridge/parade-ps8622.c @@ -598,11 +598,7 @@ static int ps8622_probe(struct i2c_client *client, ps8622->bridge.funcs = &ps8622_bridge_funcs; ps8622->bridge.of_node = dev->of_node; - ret = drm_bridge_add(&ps8622->bridge); - if (ret) { - DRM_ERROR("Failed to add bridge\n"); - return ret; - } + drm_bridge_add(&ps8622->bridge); i2c_set_clientdata(client, ps8622);