Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp775442pxb; Tue, 12 Apr 2022 13:08:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzmhhjul49B3viRcoOjFyuRmRwosheII2hMCkKtJXJCDRCXGzk05o3stJeOPHgHzHQSDx9W X-Received: by 2002:a17:90b:384b:b0:1c7:41fd:9991 with SMTP id nl11-20020a17090b384b00b001c741fd9991mr6907529pjb.199.1649794085749; Tue, 12 Apr 2022 13:08:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649794085; cv=none; d=google.com; s=arc-20160816; b=MSQsCeyLBWOiT4o/Y4mTp7nMJPP/7nzP5JttIxsnskkVdCe+ibtbjlASW3lDTIo4Mp k3S7aWhIHv9TMQZOByD4uW5PUR/A6p8LySV5JK/lKy5SZvrZHf1sm76BqRKbSP/ByDrc cynQbPUYEluRGq8v7gZOrhYrMnmRNe4W47uFyIoYcX+cYY5BTDysxOs4pqjjRLv6DAy5 TovJQX/qJdX4VpEt2sjmhlP5z3CuacRyWLGxbURsAp8plqphZpyPPmhFNinRIXmsPBMV 8gQbpok3erOIth9Ndx+Wf6TZJtHClmmNc38sHnLod5HgxEaaQUmoKPAYn7QFC0306aXM n15w== 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=0zgX0lRBSeUYGjy4/2KaVjVU1Nii6uaJF61nZ62EHQo=; b=UkDztHyaldys0u6e0miLGY9z4/NLrLfO5j8It9Wo0ko+zpEYka6lzo3BqsLYMA61NZ +uLnrRq/vuWbTQJH/j3qL/4mlsX92+HeY2wjskHfdXHPgFmll87XHmFe2sUvZ5B8t9Hq HGYv3Vhv3hXJ2sAkpseUmK3ZFyfSIL1sMvgVSfz+9RQrOWnj0AQkzETjbyt81PMqMoAg Gk40ql77e+05ZuwApw2VXkLZY2vHnLIhgcWVMKb6aE7sTB8KyuEPtJVRrpAEiT0jUiDL KtQLz70ZIhcGhYxD7EzaIiU8CU0HWmUss5+4mSP4oMXiCtGeTGHbUumfhZrymWDy2dgd 7Pdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ALgJryFJ; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id q8-20020a170902788800b0015791a0f6f4si11800455pll.577.2022.04.12.13.08.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 13:08:05 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ALgJryFJ; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E8DD070CD0; Tue, 12 Apr 2022 12:56:37 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235036AbiDLBwz (ORCPT + 99 others); Mon, 11 Apr 2022 21:52:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234132AbiDLBwx (ORCPT ); Mon, 11 Apr 2022 21:52:53 -0400 Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5717A7676 for ; Mon, 11 Apr 2022 18:50:36 -0700 (PDT) Received: by mail-qt1-x832.google.com with SMTP id z14so3970053qto.5 for ; Mon, 11 Apr 2022 18:50:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0zgX0lRBSeUYGjy4/2KaVjVU1Nii6uaJF61nZ62EHQo=; b=ALgJryFJ8KuYRsLAi1C70WILaGJYBJhDByCkA4L1ffkmDCQ/ZcrlTh7vQsszZdUX9o tpDYK5/Bl7zAg9xOpA/+n1JSC/YhUIL83iiBcKEtVOlvRZZGuNfD0QM3biDB0YQUqt/e q2kTTCfXhdiIagqLBL8nroWc/e7+9wyvqvTqEwVkfKvsPBKFlTI26gP+mFCkuOMwgwb/ tsbhTwcL+tE5V4KpcWj7r+B5T7Ocwk2aKDVRlKZfLstP+CkTxl/gO9wxp41K9fPIfd44 SHMI5MfC4wFxdQeXE84aVPZLm7YaYklDFHx32VoPtEl06EIkyB/M89AjY30pDhgfkeX1 Ytjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0zgX0lRBSeUYGjy4/2KaVjVU1Nii6uaJF61nZ62EHQo=; b=T8eEntfSvSo/6B9i6jR5kPSRrg1VTLIgLu4Vl94tRgTsG9vKiJAL1G13EJhWi3bk/R 8Gw4JAiqkgyyqA1n/ITkw1G6s/8UZge4sq7lf6cJBTG8KIioXmvHOAC4FtBYR6zh+QHO amkI0uWMSJ8nV2c/0doJdiZ66/mnKirgXIAT5C0A0A8MNBNxMGfKLHgx3l/idVuo+ZUb SqXoZffpYjgZFwgGIu2eZXtMzpwjJM1fXKgURJDjNF6Nna2CdvvNWcNTzXGmQLjldEFW om2xjC5nGqjeqqbRU39j2rA3UsVNb9/kgBJ96spX5LPQ5Nj+FTqqvX4Yz0USPN2cHQdx fP7g== X-Gm-Message-State: AOAM531w/aQXkYkgUQBt0pdG03OqUNHmfK34mXckTlCCsFsJu1KiYBFr HGnUwO71WgerUgK7bDhuMno= X-Received: by 2002:ac8:688c:0:b0:2f0:4bcd:1e46 with SMTP id m12-20020ac8688c000000b002f04bcd1e46mr1159320qtq.577.1649728235524; Mon, 11 Apr 2022 18:50:35 -0700 (PDT) Received: from jaehee-ThinkPad-X1-Extreme.lan ([2607:fb90:50fb:900e:25ab:983d:ac30:58b5]) by smtp.gmail.com with ESMTPSA id s16-20020ac85cd0000000b002e1ed82f1e5sm29556305qta.75.2022.04.11.18.50.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Apr 2022 18:50:35 -0700 (PDT) From: Jaehee Park To: johan@kernel.org Cc: elder@kernel.org, gregkh@linuxfoundation.org, greybus-dev@lists.linaro.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev, jhpark1013@gmail.com Subject: [PATCH 2/2] staging: greybus: remove return in an empty void function Date: Mon, 11 Apr 2022 21:50:22 -0400 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Issue found by checkpatch: WARNING: void function return statements are not generally useful Signed-off-by: Jaehee Park --- drivers/staging/greybus/audio_codec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/greybus/audio_codec.c b/drivers/staging/greybus/audio_codec.c index 0f50d1e51e2c..3e3a16568def 100644 --- a/drivers/staging/greybus/audio_codec.c +++ b/drivers/staging/greybus/audio_codec.c @@ -1032,7 +1032,6 @@ static int gbcodec_probe(struct snd_soc_component *comp) static void gbcodec_remove(struct snd_soc_component *comp) { /* Empty function for now */ - return; } static int gbcodec_write(struct snd_soc_component *comp, unsigned int reg, -- 2.25.1