Received: by 2002:a05:6512:3d0e:0:0:0:0 with SMTP id d14csp55693lfv; Tue, 12 Apr 2022 17:05:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmAU4S0QhTKBqGHrRlTEZFQMQtRA3MRyX43WNlASM2K8DoLPWwk58j3rVO8cQRLH+7//Fu X-Received: by 2002:a05:6a00:a94:b0:4fd:c14b:21cb with SMTP id b20-20020a056a000a9400b004fdc14b21cbmr7001781pfl.53.1649808342667; Tue, 12 Apr 2022 17:05:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649808342; cv=none; d=google.com; s=arc-20160816; b=j0vtbCF4/pgKJ3bfM8b9j2yqJ/YNiBU6dL5Hh3Kg9gI7ivwzGVOYhsmBxJ5XfU7ene NYDOOxj69vcbaoX/KzzjwNJYuvYgYp02BB+OiNrvyFHS6YHxpZKA6XEcbv4x6KoeCR56 bTjm5Aoggd9gNME+ZjInnNJ6b5aOYaCnCkYR1150Yj7y51Z+wi8APWlhmE9vCvt7sXDg rxCFu3ZfsEbxPfqaZ40u2BNYlKzfOWvKPPpGQO/PxN+8rsQcdGaPDX3sEq3VArY4zaQb GB108bsK2iHOCOcrRlVyFDkDhkZBanVysF4QTejEAKfHv64FOgsfmTteMVPaIVrae3Jd pUXw== 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=hepSgzGX1ayc5uaj+DhWfA1vMc3etzGY6KGlUx8uOco=; b=fDCQropvYSAy4OQIDX/1F8HQgdRPpzJTKogsHWct0t7mZKTxHz3y9ia42bPcaWLOo9 JEXo2DYOX9w5IgYDeD4+67JvtUSpYP4qrvpfR+TN9oXVdRh4C6YsUObsmY6qL9x+HPOd b7FN4GbDnx1nDJwlw9Nv1HtiDEshbwi7Pa03jNZkv9A5bWDnOhFPt5iYRN8XuSTvEcqA G/5NK7yS4Y8GGzdLaz8zslOydVSpYwa1tQL560VwumxgreAgvR7Sq8KleMfRp1eZQrkL EhHsA/BcUyCipGBEo4CLp4Ynz63RVRWqqv7BYvpu4/rtFifqQG6r6nRabwq3NmV6rwIH gzVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PqH3myYY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id c16-20020a6566d0000000b003816043ee9dsi4265385pgw.146.2022.04.12.17.05.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 17:05:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PqH3myYY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8227821D7FE; Tue, 12 Apr 2022 15:02:35 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233313AbiDLUIj (ORCPT + 99 others); Tue, 12 Apr 2022 16:08:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233322AbiDLUH3 (ORCPT ); Tue, 12 Apr 2022 16:07:29 -0400 Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3F9C765A5 for ; Tue, 12 Apr 2022 12:59:31 -0700 (PDT) Received: by mail-qk1-x72f.google.com with SMTP id 75so11831424qkk.8 for ; Tue, 12 Apr 2022 12:59:31 -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=hepSgzGX1ayc5uaj+DhWfA1vMc3etzGY6KGlUx8uOco=; b=PqH3myYYEiMPoqI86MF0nXFrvRxRIHfXKpTlfObqjZJnTOf+3mjUYUh+R+kIOYs4hJ kTAqkPm1coLb4HqVU9FlJbQkE+Z7s7WM+0TrADSKnyuczW3KmOO/fALzISpjqHQZAo+Q UCuLRNoQl+DufWzGtMIgHSVVJvxz/ZcYQ2p7Ob2XPFKscZIvf8Y4+btFtXkNMievHvfc Y1zkIkZ+ZyWdICeueBhHF5DVwUwLgw2afEIKTD2ZN8Q4HOEUot135n3jA1CI4OAABlV5 +bIaO39UAOZB0gHxTZvqurHK4Y77blmEwL33sYlIvci5FWWt4yaMQ+QUmoV7C6stl67V UgSw== 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=hepSgzGX1ayc5uaj+DhWfA1vMc3etzGY6KGlUx8uOco=; b=1YiHSKJgK/1NYXBDLnq6lI88tE9oVIYQl8IQtQTIxozlZR5Iyk/ZbR9QG4X1CoHXjH GU/zbKjAAhv/rOkdLBPEANshY3N8uZqnk7h3pWLwNkuqpO98qQXFyk+0scC/5WH4B6AR E4jQR38z8MboZv9Vd7PGjgHr+SaIoZV9tFAnEPFIDItjx3iuBYd1xN33pONVxfdT5Nab ugbrjWswDJWNUvM/Eb1j7M5EzoBvj88HMm7tlJagCNIBEifUqHqbQ3ktk3PkO/QsQ1RN DJrqJsSt+fGj7pKGbYhfuDXPNwlWTX30pXheuzKMDG1cF8MgKesSx7YSdExq09qFBhVL hivA== X-Gm-Message-State: AOAM531bvWRVgBIL8gyp5nIf3JFf0cxighPBNGp0KxMBtX7ka+y1cBj0 wBnPk6UbcTPmiP6N3XVXRiM= X-Received: by 2002:a37:9a83:0:b0:67b:31be:2ac2 with SMTP id c125-20020a379a83000000b0067b31be2ac2mr4489603qke.416.1649793570850; Tue, 12 Apr 2022 12:59:30 -0700 (PDT) Received: from jaehee-ThinkPad-X1-Extreme.wework.com ([4.34.18.218]) by smtp.gmail.com with ESMTPSA id t7-20020a05622a01c700b002e1b3555c2fsm27270744qtw.26.2022.04.12.12.59.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 12:59:30 -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 v2 2/2] staging: greybus: remove unneeded return Date: Tue, 12 Apr 2022 15:59:15 -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 An empty function with void return type does not need an explicit return. Issue found by checkpatch. 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