From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8B680C32771 for ; Mon, 26 Sep 2022 10:38:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7518610E2C9; Mon, 26 Sep 2022 10:38:00 +0000 (UTC) Received: from farmhouse.coelho.fi (paleale.coelho.fi [176.9.41.70]) by gabe.freedesktop.org (Postfix) with ESMTPS id 52A5510E2C9 for ; Mon, 26 Sep 2022 10:37:57 +0000 (UTC) Received: from 91-155-255-44.elisa-laajakaista.fi ([91.155.255.44] helo=[192.168.100.137]) by farmhouse.coelho.fi with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1oclUn-003aFQ-6W; Mon, 26 Sep 2022 13:37:54 +0300 Message-ID: From: Luca Coelho To: Ville Syrjala , intel-gfx@lists.freedesktop.org Date: Mon, 26 Sep 2022 13:37:52 +0300 In-Reply-To: <20220912111814.17466-4-ville.syrjala@linux.intel.com> References: <20220912111814.17466-1-ville.syrjala@linux.intel.com> <20220912111814.17466-4-ville.syrjala@linux.intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.0-2 MIME-Version: 1.0 Subject: Re: [Intel-gfx] [PATCH 03/15] drm/i915: Drop pointless 'budget' variable X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Mon, 2022-09-12 at 14:18 +0300, Ville Syrjala wrote: > From: Ville Syrj=C3=A4l=C3=A4 >=20 > Just return the thing directly from the switch statement. >=20 > Signed-off-by: Ville Syrj=C3=A4l=C3=A4 > --- Also here. I think this is just unnecessary churn, but it's up to you, so: Reviewed-by: Luca Coelho -- Cheers, Luca.