Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp15678845rwb; Mon, 28 Nov 2022 14:51:06 -0800 (PST) X-Google-Smtp-Source: AA0mqf4kQmWDXyY1nWiXzMszCYl3LYfmsvWKakI8G4C0NjiL/xe8396Mn6q+crG0GfV2FlQfq8a5 X-Received: by 2002:a05:6a00:a96:b0:554:4162:1ec1 with SMTP id b22-20020a056a000a9600b0055441621ec1mr35270396pfl.64.1669675866037; Mon, 28 Nov 2022 14:51:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669675866; cv=none; d=google.com; s=arc-20160816; b=WVYFlqa19bYE3G4lYUwcoAEeoO2k+eNiWC7Dy7CK/APWW0HSWU6up6DiDCDQYFopOE yC2+mQb7sQ1Py8gFWdBzkSOKga3uZKtuiGWOig1umoDMZTu/w8PRsi9ECHuUBror2ZPa dWtV+2cpzPjyDTxZrT2R09p2D+/vXtR3vCseO0/ZoOb9ykdCCpBWhCxEcwNqi5RTslPP H+nBHZ7CiEhxoRYpVuyFNnDlt/5bA1wfPPc+4OQy2lGa8td+JY/6dgcCYT/pqXst+iQV AEFHshr5nrzBHB6/OkwE01rzOYOT6lCGhTNKTO3z0J6yU0/Vscg5/Qv6MxrebqYTRRNi 4sYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=I9zgwrwiRRupONYrnokcwSugSkhgWBhW5gmMgQKjQcE=; b=LQCkNEAISbDqSRlGsH4P/9uTxu5BQKZ5O8OyCechryoB/nEtYCEGfRkIJjgfnSomZo UT6dOcoHTBgo8QpS9550NtGkhiySYB0AW5HfVNzm4TsNrbu4B9s+opJ+ccYlu9WswEC/ NKFvzoIFwx0jzvu28GSNpz4yrtPhOTEkHkVAnpmIo2ZFEXARfZBRg5mVhhL6Ig04BbRt 5D/qJLZae8nvhxIM1Q3QWsaDU8b6NmsOyj8cijCHQY2IFXqlwkrEa7itMuAYvh5l2CEp zhXs3mGKNJcahhibdhDfzjWFVOkjlkiyAf+CDhgxPjCyqkO0K/ffYwKwREW8Q4QtM6sF KHdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=UsjK72Vp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k6-20020a628406000000b00562a956d979si12311025pfd.67.2022.11.28.14.50.53; Mon, 28 Nov 2022 14:51:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=UsjK72Vp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234212AbiK1Whu (ORCPT + 84 others); Mon, 28 Nov 2022 17:37:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232919AbiK1Whp (ORCPT ); Mon, 28 Nov 2022 17:37:45 -0500 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98957DAF for ; Mon, 28 Nov 2022 14:37:41 -0800 (PST) Received: by mail-ej1-x629.google.com with SMTP id ml11so4644325ejb.6 for ; Mon, 28 Nov 2022 14:37:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=I9zgwrwiRRupONYrnokcwSugSkhgWBhW5gmMgQKjQcE=; b=UsjK72VpwTJ9kAjQFKmVLZiTW90apmuKHlQoEdLarfAWLcu4S3UGNA3SYQGshbWjvX ReWL12m8/TafA3IMLneHat42cQc+xvDSpucvcTHUBBTcP1tXMQdoaGtirZF7nTRJgoLt WhdZ1cdfIJs+iTVmdQt3XTPXQHNBd6gUWxjxY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=I9zgwrwiRRupONYrnokcwSugSkhgWBhW5gmMgQKjQcE=; b=V5eURpApUjWLC9FL1cuD9QQG5F5u9tMlOi1iTEVbfeje1Oy7mWZ2s3gRpjo2vkSYjh uUSMYdUcjCSNQaKQ5zyh9t0RZe5lOUgN2WYpB9sh/BZ2pPdOBaWCnDInACwbLWeucbzG 9859KJDmEAkMKrT955+L14SbpDNip/879uPeC3ZXgBnDD2nTv9FjhQOeyZKDnrZbyr/b 1pTefgpJp8/P/Xo1cho7DCNnYTCS0OfBmprW2iI2bvLv4VvzlKZ0Wq4+TV6J9YxGSWUZ LhM2JmE17p0cUgYyIdJJ9/pY2YFo6/8lrwVBI0JV9elP+fiGiq973e7FfS9h2SQ7KP8b 3gGA== X-Gm-Message-State: ANoB5pnUb5nVgd9I+ySK5sa31XObsLAjX3+dxS//1N40tAR0JNHYWxrE IZN4feYT14QG/i8gHi6CIo9qO1U9ruURr8tE X-Received: by 2002:a17:906:6d04:b0:7bd:9896:60c8 with SMTP id m4-20020a1709066d0400b007bd989660c8mr12250925ejr.194.1669675059578; Mon, 28 Nov 2022 14:37:39 -0800 (PST) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com. [209.85.221.50]) by smtp.gmail.com with ESMTPSA id hz13-20020a1709072ced00b007c00323cc23sm1705623ejc.27.2022.11.28.14.37.37 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Nov 2022 14:37:37 -0800 (PST) Received: by mail-wr1-f50.google.com with SMTP id bx10so7227597wrb.0 for ; Mon, 28 Nov 2022 14:37:37 -0800 (PST) X-Received: by 2002:a5d:4950:0:b0:242:1f80:6cd9 with SMTP id r16-20020a5d4950000000b002421f806cd9mr1152821wrs.405.1669675056628; Mon, 28 Nov 2022 14:37:36 -0800 (PST) MIME-Version: 1.0 References: <20221128221152.1.Ia805c688ee968fbbec7b93dc10742876fdef8024@changeid> In-Reply-To: <20221128221152.1.Ia805c688ee968fbbec7b93dc10742876fdef8024@changeid> From: Doug Anderson Date: Mon, 28 Nov 2022 14:37:24 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] ASoC: qcom: lpass-sc7180: Drop unnecessary initialization in _resume() To: Matthias Kaehlcke Cc: Srinivas Kandagatla , Banajit Goswami , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, Srinivasa Rao Mandadapu , linux-kernel@vger.kernel.org, Judy Hsiao Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Hi, On Mon, Nov 28, 2022 at 2:12 PM Matthias Kaehlcke wrote: > > The initialization of the variable 'ret' in sc7180_lpass_dev_resume() > is unnecessary, as it is always assigned a few lines below. Drop the > initialization. > > Signed-off-by: Matthias Kaehlcke > --- > > sound/soc/qcom/lpass-sc7180.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Not that this needs review, but FWIW: Reviewed-by: Douglas Anderson