Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3573351rwl; Mon, 27 Mar 2023 16:34:51 -0700 (PDT) X-Google-Smtp-Source: AKy350aBISZnLU3qT/uwmhvlNezJPlGCAsAlTZZ0kM+lH9k8cfwumKjAk17HlQ5SF1JMTWmF2PfT X-Received: by 2002:a17:906:3449:b0:93b:b8f3:225d with SMTP id d9-20020a170906344900b0093bb8f3225dmr13619709ejb.15.1679960091048; Mon, 27 Mar 2023 16:34:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679960091; cv=none; d=google.com; s=arc-20160816; b=hklyKTSi2mQ4fqijpw1eZ+jVNvIPra9G0JfnPoUIP3tZefOEr3HJHeMx01IPKRTJDu 24TxGC12QnsSwmkIxUs+FANIJpHd7hONE1yJbEvyYqJNPoDL0rhAgsYXw+HLfqgrs17a kp7ihwKU+dVTwA1pznbk0RQ7rHZd6qkuAcB2U6mnMJ9j4Qly08St1IwcMFwJJvID08B/ oyEDGEHh33i+4iLNORE5C4YgsuecCQTKBGMYtzW6/0uMl1cc37dgnoyMwgxLA7ALcWyP 6xEyNB4poTqsyqmcv45zxRu7DSDyDOp7LCIy/HCov+DmReQqSAMijd78P4MTlbpmC2Rz Gpqg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=Vbzg6klph6Te7iP3dSPIgG+vur+g/ph0Zdn9JxzzG40=; b=e3K06yEZd633Q2L/7w4Jqqixiwtd9e289HBBtuPVDlCSxW85nQJtZUxiIa6aHro/kd opQQ1qawomk3UxLEnRG70HNzLv1eCy3BNXklfb/A4IHWbM91EtkTtgS6eEhTSlv6eR8J HJo2tZ/BQR0nD6v/43o3Sg0ZgS7YT/vGJVY8/pK4REIIqB6OJmIWbEvcZ1xT4zHURY/f 92HyjpzmN5+OHTbwbSgq86I+DkFbhc8TkHrutuvtOBucZRyql/OJlhLB73lBJGPVA9M/ MhnJ8DcTJ5V2i4VgGarxaOc3SZKiU2Mfdf6oae+3RQav/uvoLZJPEqoD1Kz+zoR6REV6 OyzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@usp.br header.s=usp-google header.b=mcQCDHjI; 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=QUARANTINE sp=NONE dis=NONE) header.from=usp.br Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l18-20020a056402125200b005021cd581a0si11556324edw.402.2023.03.27.16.34.25; Mon, 27 Mar 2023 16:34:51 -0700 (PDT) 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=@usp.br header.s=usp-google header.b=mcQCDHjI; 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=QUARANTINE sp=NONE dis=NONE) header.from=usp.br Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230201AbjC0XeQ (ORCPT + 99 others); Mon, 27 Mar 2023 19:34:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229673AbjC0XeO (ORCPT ); Mon, 27 Mar 2023 19:34:14 -0400 Received: from mail-oi1-x22c.google.com (mail-oi1-x22c.google.com [IPv6:2607:f8b0:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E7EC186 for ; Mon, 27 Mar 2023 16:34:11 -0700 (PDT) Received: by mail-oi1-x22c.google.com with SMTP id l18so7673564oic.13 for ; Mon, 27 Mar 2023 16:34:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=usp.br; s=usp-google; t=1679960051; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Vbzg6klph6Te7iP3dSPIgG+vur+g/ph0Zdn9JxzzG40=; b=mcQCDHjIc1z0MV59hCiOPGbf9ypVcTa63Zwj9+4vczjxJ6xemxCHmB/bdG09R3ulGk wBRb0c4NRKQIeZ9AmKn4cZ2/cFiH43pbFxCU+Xwm10+2LXyU5IjgKYxYNni8iIny2BPJ Uyr5muaupR7SGOpBiiBp1e6Xl+GGq0CmFO3dc10hLq2qt7VhnOQk2AJ+iHp9AXHIRwtm NfAZ1fiK7syP88hnm8TuaCtSHzva6H/mfeVe+aCvNEeLItolg2ox+I9LK8+rwppC0E4X 9Wxs02kRtS2zhYkR/OGYEL/mZEdqfxZ29EIIZi0qzdkVJ30c88TyYqgnmei/AGim0NxW 27Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679960051; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Vbzg6klph6Te7iP3dSPIgG+vur+g/ph0Zdn9JxzzG40=; b=oyfXbPQ1FWMCAL9ux7ZsfRQYfiCzni6NkQt2D4Cxwlr9Lfb37F8egZULK3nTaCq21X FOoK9mBURraK8LouPsXD4lRq8cU4E/XMuNJupxlnRXmWeU6LZFpCD/ERri0WXSD6z4HS 1Hc0TORD+PnN8TL8EENT2/T3F1kagf0fgtEdGZSDiuyn3OChp5lgSNn9x+n2868mz13/ vue7f82tkjMmom4adiMLdJHiIGKVUs3Sd+/Yr8c0ya+A3/wTzcQZUBOS7TUQxvf3XVBt v/GRr06DzWdNK2TnT3+BSyXwFY5BUK563mXHtZhH1NraldJBjyCANLcoV5KRYdYmOFBa Bczg== X-Gm-Message-State: AAQBX9dSdyQpVS2FGaCp8oEXV1zBoxZkwgnfi38S5biABf+Tov5NrxgO DhIiz6kZtN3KEj3KEm1uYiM/uA== X-Received: by 2002:a05:6808:1386:b0:389:4d2f:1c23 with SMTP id c6-20020a056808138600b003894d2f1c23mr1162500oiw.29.1679960049461; Mon, 27 Mar 2023 16:34:09 -0700 (PDT) Received: from ARCHaio.localdomain ([2804:1b3:a2c0:c911:919f:bd20:4f2a:8383]) by smtp.gmail.com with ESMTPSA id b186-20020aca34c3000000b00389295e8424sm1643409oia.45.2023.03.27.16.33.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 16:34:09 -0700 (PDT) From: Caio Novais To: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , "Pan, Xinhui" , David Airlie , Daniel Vetter , Harry Wentland , Leo Li , Rodrigo Siqueira , Jack Xiao , Hawking Zhang , Le Ma , Mario Limonciello , Yifan Zhang , Mukul Joshi , Jun Lei , Wenjing Liu , Alan Liu , Caio Novais , Joshua Ashton , Guo Zhengkui , Nicholas Kazlauskas , Zhan Liu , Wayne Lin , Charlene Liu , Martin Leung , Tom Chung , Alvin Lee , George Shen , Qingqing Zhuo , Roman Li , Wesley Chalmers , Aurabindo Pillai , Jingwen Zhu , Melissa Wen , Felipe Clark , Sung Joon Kim , Dillon Varone , Ethan Wellenreiter , Taimur Hassan , =?UTF-8?q?Ma=C3=ADra=20Canal?= , Brian Chang , Gabe Teeger , =?UTF-8?q?Andr=C3=A9=20Almeida?= , Chaitanya Dhere , Jiapeng Chong , Ryan Lin , Hamza Mahfooz Subject: [PATCH 00/12] drm/amd: Remove unused variables Date: Mon, 27 Mar 2023 20:33:41 -0300 Message-Id: <20230327233353.64081-1-caionovais@usp.br> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 This patchset cleans the code removing unused variables and one unused function. Caio Novais (12): Remove unused variable 'r' Remove unused variable 'value0' Remove unused variable 'pixel_width' Remove unused variable 'hubp' Remove unused variable 'speakers' Remove unused variable 'mc_vm_apt_default' Remove unused variable 'optc' Remove two unused variables 'speakers' and 'channels' and remove unused function 'speakers_to_channels' Remove two unused variables 'is_pipe_split_expected' and 'state' Remove unused variable 'cursor_bpp' Remove unused variable 'scl_enable' Remove two unused variables 'result_write_min_hblank' and 'hblank_size' drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 8 ---- .../amd/display/dc/dcn10/dcn10_link_encoder.c | 3 -- .../drm/amd/display/dc/dcn201/dcn201_dpp.c | 6 --- .../drm/amd/display/dc/dcn201/dcn201_hwseq.c | 2 - .../gpu/drm/amd/display/dc/dcn30/dcn30_afmt.c | 2 - .../gpu/drm/amd/display/dc/dcn30/dcn30_hubp.c | 4 -- .../drm/amd/display/dc/dcn30/dcn30_hwseq.c | 3 -- .../gpu/drm/amd/display/dc/dcn31/dcn31_apg.c | 39 ------------------- .../drm/amd/display/dc/dcn32/dcn32_resource.c | 4 -- .../display/dc/dcn32/dcn32_resource_helpers.c | 4 -- .../dc/dml/dcn31/display_rq_dlg_calc_31.c | 2 - .../dc/link/protocols/link_dp_capability.c | 7 ---- 12 files changed, 84 deletions(-) -- 2.40.0