Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp241417pxk; Thu, 24 Sep 2020 04:43:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyldvHXLylX9plMltLxznUed+g8OPQZGwhmfph6TAjegYXV29XLcd3pjiaNxi7jkUf4Bxos X-Received: by 2002:a17:906:370a:: with SMTP id d10mr554045ejc.393.1600947804252; Thu, 24 Sep 2020 04:43:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600947804; cv=none; d=google.com; s=arc-20160816; b=DILIBnT+FjYcOPaEmocIVQuWFIplypYxzpR4bh21phAyMv44kgRHqJvReKx/8ygYCh HA+vEXz3vMvaJuq5OeNqoowRugCaMyil5mHBh7av/7lbRSF/RFGW19LyBYefIOaNSeIp 9TVjVMTGzoyXaqZLPpUtyH/hsJ79N24amJ5mGzfQrt/QZ2YSIwY9dUqjq8bdg0DdrT4R RkIUv0XOfyVu6KSVbHnh+kRQghVuRxNy1o2gx7ZS8La4ROu8zBDsU4xOzBfLL1B3/uYn On905e5NqaNXC9ypTjb6oUDI1KdgtvpCUuT129UnP5UZZ2gj3uDXj8o6rlMQKHlIJvCp SoqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LuUI/vBtXJYb5lrBsJkZLuZDFBHGHAPpV5LdIYhZxrs=; b=OeH1kftN7fCPAa8WNSNCOlbEFt9PIMzCDFDvKX76rNpiI7sMKxRZ5dTF7UwzUk6VxJ 6OQdYtw3/yTgWhew2j7PLgQFw6EBOzM3Dg2c/wdByxeCn4sjI404R5P6ZovQ4GblHeNP YQY98qjhg/xhyBannBgzNzEeRfPoXr+F76SOQxFEICbSn5QLZPfWfAURlhas0TzVeAyT ZDOWg7/ku0yyHUvUjdRB+Wsn5l30x2vLdrsLRypvMD5FgRd4V1LYr+IW19UXUaI3sDeU UeLo0zi0sLm1Uf3UJzj7XgAcPb/6pKZVEmaygD2iir04PJq2t20IL8aHgvh+sGolQBLy M1HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=2JjxeELo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v13si1878386edw.171.2020.09.24.04.43.00; Thu, 24 Sep 2020 04:43:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=2JjxeELo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727556AbgIXLjU (ORCPT + 99 others); Thu, 24 Sep 2020 07:39:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727557AbgIXLi4 (ORCPT ); Thu, 24 Sep 2020 07:38:56 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76448C0613CE for ; Thu, 24 Sep 2020 04:38:56 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id s12so3399671wrw.11 for ; Thu, 24 Sep 2020 04:38:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LuUI/vBtXJYb5lrBsJkZLuZDFBHGHAPpV5LdIYhZxrs=; b=2JjxeELoVhjSUqUOW7Hu6PuV0/8XE4XmUTBlFiT4aHyPLH3ILia0DHWLU9WpRD3eug Doo0iZvPyOKNTkzuBT/+nSrDhyW88XNL87nw5LxG2PXW/Ae0KrCxn97v/wQnrmKOzLH0 X+TO0u9Ol4YBOS6q55foxfA/5VhgXEQzduJDQLlHFmK+onw5hakaKsbGSL1oaERfRso9 NBX+c9TQXF1G/y0nHUBQD0ZqPJx7JQucTZlwrMv9qJJC0rCeTbZStnwP5R7bQU6MQYDk WOfdAqF7vbxN7cZRJTw/Sk6hghgevmg1VltBZCYIRY+xoPngnXc1DevbLBCo12X1beo6 rOQw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=LuUI/vBtXJYb5lrBsJkZLuZDFBHGHAPpV5LdIYhZxrs=; b=lPeOPaOahiMNKX/u9ALh2MgLxWt/+Gd9B4FDJcNXlvZXSDsZ/HY3l98NN+r+j9ajSL Bzw4knyh1TELopleP1DBqBM8Z56XYGQscHGO5ojtEH/o1a+AyKkTJDI6wRUPTdYoZV1r zRt1W5wS7lNdRIAOINk1xcXzKYRE3NEzOu6G4C3ExLNKNJXWUerLvz/LgTn0SsosZ9CC 3Swj0sQVcuJj8F3Is95w0iSv+HtQ45qNxSKq98Giydvd/Jy/52rH1hq1P5WWpshc9add 20wqRvgwOC70aydt7Kks/fozu20ffztzVYTXdzj9RbMSp8X3k7u8kxG4TDBolh5uANXT kEcg== X-Gm-Message-State: AOAM531G+HZ0SP3WFLhMloEc47DI3yojnVFUMLa69DMj59+dKpkApfP2 VtN0X1iLUar+Teb4XmRQSUDGzA== X-Received: by 2002:adf:84c3:: with SMTP id 61mr4567912wrg.131.1600947535186; Thu, 24 Sep 2020 04:38:55 -0700 (PDT) Received: from debian-brgl.home (lfbn-nic-1-68-20.w2-15.abo.wanadoo.fr. [2.15.159.20]) by smtp.gmail.com with ESMTPSA id y207sm3390133wmc.17.2020.09.24.04.38.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Sep 2020 04:38:54 -0700 (PDT) From: Bartosz Golaszewski To: Linus Walleij , Jonathan Corbet , Andy Shevchenko , Kent Gibson Cc: linux-gpio@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 6/9] gpio: mockup: remove unneeded return statement Date: Thu, 24 Sep 2020 13:38:39 +0200 Message-Id: <20200924113842.11670-7-brgl@bgdev.pl> X-Mailer: git-send-email 2.26.1 In-Reply-To: <20200924113842.11670-1-brgl@bgdev.pl> References: <20200924113842.11670-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski There's a return; at the end of a void function. This is not needed so remove it. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-mockup.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpio/gpio-mockup.c b/drivers/gpio/gpio-mockup.c index c2b2f7d5ff34..de778b52f355 100644 --- a/drivers/gpio/gpio-mockup.c +++ b/drivers/gpio/gpio-mockup.c @@ -372,8 +372,6 @@ static void gpio_mockup_debugfs_setup(struct device *dev, debugfs_create_file(name, 0200, chip->dbg_dir, priv, &gpio_mockup_debugfs_ops); } - - return; } static int gpio_mockup_name_lines(struct device *dev, -- 2.26.1