Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp3005258pxt; Mon, 9 Aug 2021 14:25:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNsubkMYcvdAgHkG1GWaIP/xSY9rPIRBhK7pdW7Ji+XottK6k0sIteLGgnlp4C1x/IsbHv X-Received: by 2002:a5d:9e19:: with SMTP id h25mr142705ioh.25.1628544348795; Mon, 09 Aug 2021 14:25:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628544348; cv=none; d=google.com; s=arc-20160816; b=cvqhg0RX8EPfUueQr0JMkW4c482e3i1b9MuxdcbT3grdrCavMTxPXUaDNGBUBoDLn+ nPRXPucejjRseSy4n+2kLzTSI9lOwireqCO/R4SRkvTl5QkJVNAyGS1iHxxflLEm2upv c8EvjyLZ82ybmQc955r7Pnqn16AjrWOkwp+dZ9ClIHL9l/6WA3w4LMsQYG3dsUoyBpNt CPhsYQenxsWsV8YApbVZbRTijsfC3uS5r2afc2UTjBP6tDTuY9mQBran8kURSfEFhNe7 5r9i11UHGO8ciu2p0azaK/WQTcKWpzIfcn9r9ymDqh7HiekAIBQr7nqgQ888F03db/OP N8DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=hF3J2nitrZIyoEjWGUnb52bS6szzJmi/8nrZtEgocBU=; b=fgbjk2wqbu2EVjRabmVDeY/9koLKe0ha7IajK4D8BICcfeqgOyg/+H3sV2/c3tXmKX IsW5Bk/tb3mrBaKOYe/mSCVXxurqiJfYyPUtaQzsZH8ShRWlEsPbTF66/I185S7FuNvp DCxiYOXXZaT0JVsjxCb6yQ0na0rMZxkL1WHraeCjAOpLd6ik43sR9T3r5ka8FLndcDI8 VCARDc+ZtmqpNImuFF/LyWdoxQRCG3/emVOXelyFM/fNCtAI+lnIgMlI33HZMMGOnB0R EltNXY0qk3P5uP1CRclfVDj4BKd2iZqZe7Cx3FU9INODqR2QyhIpU+85dsEF6c353amR u59w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nG+VNsdW; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q17si20504101ilm.64.2021.08.09.14.25.36; Mon, 09 Aug 2021 14:25:48 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nG+VNsdW; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235348AbhHISiV (ORCPT + 99 others); Mon, 9 Aug 2021 14:38:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233747AbhHISiV (ORCPT ); Mon, 9 Aug 2021 14:38:21 -0400 Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99938C0613D3 for ; Mon, 9 Aug 2021 11:38:00 -0700 (PDT) Received: by mail-ot1-x331.google.com with SMTP id h63-20020a9d14450000b02904ce97efee36so19086184oth.7 for ; Mon, 09 Aug 2021 11:38:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=hF3J2nitrZIyoEjWGUnb52bS6szzJmi/8nrZtEgocBU=; b=nG+VNsdWX0azIvITBY1SWd1dBDzHOWEdGeeHzzUQlULUMr+ac+/LKqK8jMNvlawmWK m4P4bhIIcQMmI+1JUUuuWykgySO49NH6/HbEkPQ8wP15Xr7MRcgjQnFAif5yeBdShHqx C9VqPpebmHRgzmp895zZfWaKxkUEjR5r320OFNGBrhnFtT5g5ZbXbwgDia8em/GMnZVi Ly1NPZeLw6KvJVTjKMWk9Lfox2+pVeKPAIvMAm6rh/v5lzpAkmB46c82okHEC5+ssVa8 5Uv0npO0b9orvvYX/wuX0cpqjJqebj+jfSvvs5rVleoEIooUJZ6rIoBeT6l88RtwE3ng n36g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=hF3J2nitrZIyoEjWGUnb52bS6szzJmi/8nrZtEgocBU=; b=RZaJda7YwIl4BoKhT9mwM5zwzJYz/AO/A6N7LeYeZ5oRGlOpH8bagsDiCKFenLHYj+ UVdBHPDQxvCGdFZqgmXDh4xUqgUTUXTOwWkRcxQNgtJY7wqzZGjRpCrkQEtl9Ovi19gI 10epC5eSM+QOjKyyaSq7H8TSZgP/yEWdpkfxPutNAMhTg/MKunHRMMH+yaWkd/4+48w1 yBdLuo0gRCg4a25+RLuO3Jqw+mK8deybb4S+yvaVT8Ce/X0OFKBKCr93hTkhJN4/I9Sx Ne5/Ebyt9nZ2MXx3QuhqhtXbTIGQtBhBY6ObGeHkC+kSYdvtkzyfWyylPuNlLpGMEAFy ZcLw== X-Gm-Message-State: AOAM533sPVQyuOflP965SXtqkLkt3FskSuS8W2pVs32POZIu0N9TlH4y 1IAnRFPg5aYQNBGtbDHVRQw/wqfqtAnF8Z4Gc8w= X-Received: by 2002:a05:6830:1e78:: with SMTP id m24mr12195440otr.23.1628534280053; Mon, 09 Aug 2021 11:38:00 -0700 (PDT) MIME-Version: 1.0 References: <20210809120050.679048-1-sergio@lony.xyz> In-Reply-To: <20210809120050.679048-1-sergio@lony.xyz> From: Alex Deucher Date: Mon, 9 Aug 2021 14:37:48 -0400 Message-ID: Subject: Re: [PATCH] drm/amdgpu: Removed unnecessary if statement To: =?UTF-8?Q?Sergio_Migu=C3=A9ns_Iglesias?= Cc: "Deucher, Alexander" , Christian Koenig , xinhui pan , Dave Airlie , Daniel Vetter , Hawking Zhang , "Kuehling, Felix" , Huang Rui , Lee Jones , amd-gfx list , Maling list - DRI developers , LKML , =?UTF-8?Q?Sergio_Migu=C3=A9ns_Iglesias?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 9, 2021 at 9:59 AM Sergio Migu=C3=A9ns Iglesias wrote: > > There was an "if" statement that did nothing so it was removed. > > Signed-off-by: Sergio Migu=C3=A9ns Iglesias Applied. Thanks! Alex > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c b/drivers/gpu/drm/amd= /amdgpu/amdgpu_fb.c > index 09b048647523..5eb3869d029e 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c > @@ -273,9 +273,6 @@ static int amdgpufb_create(struct drm_fb_helper *help= er, > return 0; > > out: > - if (abo) { > - > - } > if (fb && ret) { > drm_gem_object_put(gobj); > drm_framebuffer_unregister_private(fb); > -- > 2.32.0 >