From patchwork Wed Jul 10 18:03:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Souptick Joarder X-Patchwork-Id: 11039399 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8432F6C5 for ; Thu, 11 Jul 2019 07:24:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6AB5328A46 for ; Thu, 11 Jul 2019 07:24:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5CCB628A49; Thu, 11 Jul 2019 07:24:35 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,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 1B19228A46 for ; Thu, 11 Jul 2019 07:24:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 35D916E13C; Thu, 11 Jul 2019 07:24:16 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2ECD96E11E for ; Wed, 10 Jul 2019 17:58:36 +0000 (UTC) Received: by mail-pg1-x544.google.com with SMTP id s27so1610216pgl.2 for ; Wed, 10 Jul 2019 10:58:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=1Yptoe5D085BWh+Bibq1x1Qze0BUntRJjyskqFEUkv4=; b=oB2477Wgo18/X/wzZ5rYDg5LymwUP2IjeXFHfqJUuJj+auUobe7RsGggBl3TzTInV/ gDUk3In86ZgDSkAB3X13AqmiMrGU2nxOpKrRx+Vg3NgIoJ6A1VC/XEm8qfhJWtJSYi5Y bWKTVzrxl8Zod6Qk+DMGzq41RYJQ9kYj/Za9Dr9609oHdyZWxEvecJn1oM1zo8Ar1U79 VrlNwnfCXA8POAdrLeom8tCukkfeRQS5mJLQC+Jw9G4WYM75hp7tOn+JdIfrKZHxxOmk I+yaXVQGB8IWFETOa8dxMEsbe03yP68yjH7lImhlFhJ+NoQyDOTErg850t4mPiYF7rhx ex1Q== X-Gm-Message-State: APjAAAUxnAkgX2RcNnElwXNuoFJhbGbBOY7ARMtRjO3oAG0GPrE9BUO5 pZAjOq0TdcnpFokcQyO20js= X-Google-Smtp-Source: APXvYqzRIoVFWzhS+1VgbH8QHWcdl6FPoGRrTAD67T9udDa+FcsMUPzpD2OL7tIqAgpvpAzvnDPj7A== X-Received: by 2002:a17:90b:8e:: with SMTP id bb14mr8433814pjb.19.1562781515699; Wed, 10 Jul 2019 10:58:35 -0700 (PDT) Received: from jordon-HP-15-Notebook-PC.domain.name ([106.51.16.82]) by smtp.gmail.com with ESMTPSA id a6sm2460536pjs.31.2019.07.10.10.58.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Jul 2019 10:58:34 -0700 (PDT) From: Souptick Joarder To: adaplas@gmail.com, b.zolnierkie@samsung.com Subject: [PATCH] video: fbdev: nvidia: Remove extra return Date: Wed, 10 Jul 2019 23:33:15 +0530 Message-Id: <1562781795-3494-1-git-send-email-jrdr.linux@gmail.com> X-Mailer: git-send-email 1.9.1 X-Mailman-Approved-At: Thu, 11 Jul 2019 07:23:58 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=1Yptoe5D085BWh+Bibq1x1Qze0BUntRJjyskqFEUkv4=; b=tTn+t77vdNkoiG8Ypss8Jb1MN9bCLyC0qtR8XfCrzNdJsuOVuvNQ1DdLEOL4u005Ba cvHdj6+6PfRyKhHzkljerHrTWMEJfGtZikAG5SfDWxACqVQE8+Y+eXa9vgTs0j1YF6Aq /bMlRektpHJiHrSm510ZZ5mlnrI8SHO+tmimjswCuuqgyDF7E7IYHATkGjN8SvLAazha QviZGyYzNYCC9M/jzuS2U2gyY7aQqLhwpwNlhWlxSG4yGM+z+3lDk1cl3bVfELADuaPX 63SX5w2hhXtLZlgH6EYie38nh4MEot/F8DynKZH6pqqn4fSJa3aW4lYui6YIg4Uclt5K nrXQ== 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: Souptick Joarder , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, sabyasachi.linux@gmail.com MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Minor cleanup to remove extra return statement. Signed-off-by: Souptick Joarder --- drivers/video/fbdev/nvidia/nv_backlight.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/video/fbdev/nvidia/nv_backlight.c b/drivers/video/fbdev/nvidia/nv_backlight.c index e705a78..2ce5352 100644 --- a/drivers/video/fbdev/nvidia/nv_backlight.c +++ b/drivers/video/fbdev/nvidia/nv_backlight.c @@ -123,8 +123,6 @@ void nvidia_bl_init(struct nvidia_par *par) printk("nvidia: Backlight initialized (%s)\n", name); - return; - error: return; }