Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp774566pxb; Thu, 15 Apr 2021 06:23:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuEedqB6asrTrY/kEgg7uJ1J7alH14rmeDOn7xvcm5QFTBndsokIBggV6ZAbagZd+CCmm0 X-Received: by 2002:a17:906:ca45:: with SMTP id jx5mr3438648ejb.417.1618493013641; Thu, 15 Apr 2021 06:23:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618493013; cv=none; d=google.com; s=arc-20160816; b=OTbHb8/nOlTzpl7/OhXA9qpOiI2islEGwW4BHgoGOThmXVZUtowR13APWoWUxMSzrG LO5OkftJdUQ4NoOhR46Nk5x7MfoCBVHChOmWc+Y9WC5Y3PpxA9XtCtOvjyELf8rxUZYQ RzpxSTWhy/yNNbbeYHxdw9U9ZdtDnDVSKDnbA1F0S1KEMaEeSjXAE9GvUOlvWEqwUMUQ uEgbMfdMe7h4jynFpbiXJKKG0MY1yHGaJ8CJ1QzaMKNg2VwOCyEcIfI8+Xt3EfnkF4JI N3OUqjTXwzLeYFjBgshTl6vQ/AfM4M4KP1Q9LB/QpYke+MD/FwlSR0jOMIqGzmEk2JKP RApQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=sTQ+DX6fab75nGVNam76lsR5XNrek8Ex4XoXTaXX+5w=; b=lhL+u/QimOdkvSl7wMnVD6olkTtLmR4/QUL6lcOWUk4ZDeZHDhbjbob5nJclxhYsjD PSQrK4JXk46G1jJ5ptR336QyXyN/zXcKpJfZWbeHP3OhSRjwL7FfdccBz1oP5gznal5e X2uY/nIWkVJldtydDYBuBPoHBUhwEKvbfSQbLqfFAW1VTFIMPXBrliA3R0749LEo8Gjf VtLkmnDV8bkJVKrtnVckA7LWct4Rk4ucqlVtUB8Ra3qM049UCDqFBrZJX5wbXjUOiE7S PjcnTHKuOoP8cazb7HAq8rt+uYpi5Q5e49mrlwh4hIl+7X0959rd6XTfOan1Ak4L9l76 SEJQ== ARC-Authentication-Results: i=1; mx.google.com; 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 x26si2364051edv.23.2021.04.15.06.23.09; Thu, 15 Apr 2021 06:23:33 -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; 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 S232993AbhDONWc (ORCPT + 99 others); Thu, 15 Apr 2021 09:22:32 -0400 Received: from wtarreau.pck.nerim.net ([62.212.114.60]:51674 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230056AbhDONWb (ORCPT ); Thu, 15 Apr 2021 09:22:31 -0400 Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 13FDLjse004228; Thu, 15 Apr 2021 15:21:45 +0200 Date: Thu, 15 Apr 2021 15:21:45 +0200 From: Willy Tarreau To: Colin King Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H . Peter Anvin" , Denis Efremov , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] floppy: remove redundant assignment to variable st Message-ID: <20210415132145.GD2791@1wt.eu> References: <20210415130020.1959951-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210415130020.1959951-1-colin.king@canonical.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 15, 2021 at 02:00:20PM +0100, Colin King wrote: > From: Colin Ian King > > The variable st is being assigned a value that is never read and > it is being updated later with a new value. The initialization is > redundant and can be removed. > > Addresses-Coverity: ("Unused value") > Signed-off-by: Colin Ian King Indeed you're right. Acked-by: Willy Tarreau Willy