From patchwork Wed Dec 5 15:57:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangtao Li X-Patchwork-Id: 10714493 X-Patchwork-Delegate: rjw@sisk.pl 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 26E7F1731 for ; Wed, 5 Dec 2018 15:57:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 180F42D6D9 for ; Wed, 5 Dec 2018 15:57:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B0822D887; Wed, 5 Dec 2018 15:57:58 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A390E2D6D9 for ; Wed, 5 Dec 2018 15:57:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728239AbeLEP55 (ORCPT ); Wed, 5 Dec 2018 10:57:57 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:33852 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728129AbeLEP54 (ORCPT ); Wed, 5 Dec 2018 10:57:56 -0500 Received: by mail-pf1-f193.google.com with SMTP id h3so10224809pfg.1; Wed, 05 Dec 2018 07:57:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=6pkf2GvAJxyMlPiVfjOgB6eVZeqIaQ2IeYx1KI9IiAk=; b=iM90l4CIBJjhdHAABDJETrzu51nnql7X++5hjDnJi1holKIR8DPrt+9xRlpvH2Qd3O bpNo3FcWA8Xk1pwrCM9sXTGV43tj0bzCMaJGmwIdb0sTWfl/wVmW7EgiCWIZLFCHfmuX H8CUHIaMU4YHFeMCNJ0uJ8InW1f7M8ztoVooHk5tAVzzEp6V5qgHff6xm+/2aYkH823Z D62gOXn4wKCLOF0QCixrj8H8x+6LNXaWQv5Lu0G7V69Z8onQLLxiRA7Q5wTJT3pUjNLV a3fgov7ZxQfD1UzjgNdnLajXl0RCOR/yzBfMWZv1FTo1F8rYALCfS9YsEBhPRID+AAIP JSbg== 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=6pkf2GvAJxyMlPiVfjOgB6eVZeqIaQ2IeYx1KI9IiAk=; b=ZmWGUoPz4fiTbT4AwwKR9n4sQmaL6NR0GREmlm3dUcuxqgTzZggRajN3AJWFvRVKJu /jv3rdOrfGwBWQfsc3mKSHrjBKP7cd+uDlTy1JdR3QY6Dja3uqPQJz3to98YG68R7X5k C6YSZMABO/8+YbwNLkAJhkSADSthQ13+oFW6UITgSSRzUkoT9FpzNABcGsCsAY83a0uI 29iHDU5o1KNg3VDpCz1/5Rj4F1iytHuTuSZUvghEllTHVhvoqfV9kMD43yjm85PkMy8f F+G4AgzfnMp3zBrz47iH+KlVvt4SmySGzeHiElglwhXcFMuYG8HY5yCWrKYDvcZ+KLT6 OUJw== X-Gm-Message-State: AA+aEWazCu0mEws6lKdVcAR9rHab0SsSzWNHHKD+DprC6BSOaQfCs8Hy cVARktglFzxJbNvBrnAGf6wKcmGD4rU= X-Google-Smtp-Source: AFSGD/V6eARsx1LNeHogTvDQG4r7FV2CwhNy4qiuFJsec6+dQJ5qTQLvgKnQPk9U+XNszh6m0cxnUw== X-Received: by 2002:a65:41c2:: with SMTP id b2mr20694254pgq.67.1544025476204; Wed, 05 Dec 2018 07:57:56 -0800 (PST) Received: from localhost (68.168.130.77.16clouds.com. [68.168.130.77]) by smtp.gmail.com with ESMTPSA id g65sm104504596pfa.63.2018.12.05.07.57.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Dec 2018 07:57:55 -0800 (PST) From: Yangtao Li To: rjw@rjwysocki.net, viresh.kumar@linaro.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Yangtao Li Subject: [PATCH v2] cpufreq: nforce2: Remove meaningless return Date: Wed, 5 Dec 2018 10:57:51 -0500 Message-Id: <20181205155751.15945-1-tiny.windzz@gmail.com> X-Mailer: git-send-email 2.17.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Delete a line of meaningless return and some useless blank lines. In a function whose return type is void, returning on the last line is not required. Signed-off-by: Yangtao Li Acked-by: Viresh Kumar --- Changes in v2: -revert modify of MODULE_ -delete some blank lines --- drivers/cpufreq/cpufreq-nforce2.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/cpufreq/cpufreq-nforce2.c b/drivers/cpufreq/cpufreq-nforce2.c index dbf82f36d270..33c309a08c64 100644 --- a/drivers/cpufreq/cpufreq-nforce2.c +++ b/drivers/cpufreq/cpufreq-nforce2.c @@ -123,8 +123,6 @@ static void nforce2_write_pll(int pll) /* Now write the value in all 64 registers */ for (temp = 0; temp <= 0x3f; temp++) pci_write_config_dword(nforce2_dev, NFORCE2_PLLREG, pll); - - return; } /** @@ -438,4 +436,3 @@ static void __exit nforce2_exit(void) module_init(nforce2_init); module_exit(nforce2_exit); -