Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2914694pxk; Mon, 28 Sep 2020 03:44:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxe0f0X4w6ltiax/8wP06hxrB4AdeqJAjtKLX6/by1nmua7ucaCl/v/BuDLfFp22ew7Xnfm X-Received: by 2002:a17:906:9416:: with SMTP id q22mr985501ejx.82.1601289879099; Mon, 28 Sep 2020 03:44:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601289879; cv=none; d=google.com; s=arc-20160816; b=sxonZQWaO75r9Ba0Arg5/a7VH/EUShlPwkjxorAPEq70ykld+0KhrL/7NzusWwmVJZ SldORnKfP2AqHU9VNK0xei+lehPLjHDtHm5eW3k3RYKfmcr+rzwqwR9bnpWfVHrj8siR efd1OYKqCmCy9Yg19dPqzSMfZeUOil3tT7ceGPSsa8pnmFiF3gmUyRWElYe1bF5rLGG8 bNwgzfamT5Z/Yvl9tlqOOlBv4mYSE7UJ1txMrysW+TGEjUBE66RUR7dzC4XLRvFuHj4v vLFWjHjYCGtdoUx4K/T2fGUSQCEvrWmzslb5F8f0PPUja+/LvYmt5ax7UHA+Ht9QTLBU LOwA== 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=1YXp6sKFkcXTnpolw457jZq5A6kI2Z1eojr6/yOZQYQ=; b=ZH6Likxel84MZf/+dk2/hbdK4y4+X/MxCeWpdObVYQOI4/+5frNAYtWNPEwR5rK9fM wCtU4cBHr/dkjXuuk8lc49ViEe9D8mhP/VTJucnM7xjNMb/vHJhE/XltK6QFmL/2ACeJ ZeX7+k/xYAqhbVsR//HuJ67IMV2Q0BvXIVLZqz/BGWWFVF9FmdtQI1Y+zMT2GA46X+o2 UoIm7xpt7QwvVm4PBs7s5+RF/fnqmRC7Q8UE/Rz3cdqfqjFQACPrIT5Xl7ZBsRoc4D1d WZjpuoNZVh3RUU/C/Ap2RrqVP4I5VogWzvK4p8PwfM8xzfSJVaZ0v7fLIvtcWmKQ6/Sp PhyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=vNIfUXVV; 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 d4si330546ejt.59.2020.09.28.03.44.16; Mon, 28 Sep 2020 03:44:39 -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=vNIfUXVV; 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 S1726617AbgI1Km2 (ORCPT + 99 others); Mon, 28 Sep 2020 06:42:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726625AbgI1KmJ (ORCPT ); Mon, 28 Sep 2020 06:42:09 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4035EC0613DD for ; Mon, 28 Sep 2020 03:42:08 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id b79so627971wmb.4 for ; Mon, 28 Sep 2020 03:42:08 -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=1YXp6sKFkcXTnpolw457jZq5A6kI2Z1eojr6/yOZQYQ=; b=vNIfUXVVyoXDF3umKSsKVBddWePCozTPG5ZzyeBjzZ34nAwMZRiRo7CkupgjKqL2lP 4GmsanTd8x1Eb9jZCwA1h1QNEjvcKquIVW9e9ZV0kiubuGvQch5daq3cvyC6A05BhxRc fZEUyRAk6HOGKS8KL3OVg48iz39XiuLbNpqnnnoXce3L6VERVqiGirah6zqCoMmnY5Lq nl/IjL7CHR7HANLCBLKwy651j3igv0QrU+4xRIQjArVe8cPkQR3t1cEZoNagi3mOISBp a5nd8W4jaH+uHWghljLqX16U/CE7Wl4adi4SydwTKJH3xNZ8Q4fFA7X8NaodN4OESkuS CAuQ== 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=1YXp6sKFkcXTnpolw457jZq5A6kI2Z1eojr6/yOZQYQ=; b=g3tDX9ikpDRHsjeD+zQjVU4DEEo5LCSZJNaJo8GVwk8Hl83PBjgqsyFvpecKnNlAza 0243sXiUaC2IctOehMe0BHlQ8Nd/6/lvjuPCdNksQoLxvHr5LMFjWP4ZWF/zQ8jAzBSd AJJgkxwxkt7gtwSrLeZ5IYh5jLzfD86PhBW/1bsiQGl7VPg7jA4owBuSQdZYiFB/aixZ nyTgfBjguaNpTcO5oQ8+a5vFEgakYTqipPOv8/b63313zqXktAI81p2ylWqm+20864oo FPSjxjy7rb1kyVvrjhFGj6acUD5iDgmFiCfDpQLgf6BkaLxOR8UM3LM8mphlfZ4T+zB6 wFlA== X-Gm-Message-State: AOAM531bOXdXqAXDnRdnjoZrwoEiR/wno9x9Zq8MBeuQuFRQksfmf+Ih WUhix/54MtUTog9L7atpL5fTCw== X-Received: by 2002:a05:600c:21c4:: with SMTP id x4mr958052wmj.107.1601289726952; Mon, 28 Sep 2020 03:42:06 -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 f14sm939258wrt.53.2020.09.28.03.42.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Sep 2020 03:42:05 -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 v2 6/9] gpio: mockup: remove unneeded return statement Date: Mon, 28 Sep 2020 12:41:52 +0200 Message-Id: <20200928104155.7385-7-brgl@bgdev.pl> X-Mailer: git-send-email 2.26.1 In-Reply-To: <20200928104155.7385-1-brgl@bgdev.pl> References: <20200928104155.7385-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 Reviewed-by: Andy Shevchenko --- 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