Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27830868rwd; Tue, 4 Jul 2023 08:25:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4u7pRmUu8n0JueThxreqkPaXqJAJV369OpmnqYIz9pyv1v2rW6QMGXkVEiB9B4b9DHmhLZ X-Received: by 2002:a05:6808:16a6:b0:39e:d596:2501 with SMTP id bb38-20020a05680816a600b0039ed5962501mr11510591oib.9.1688484315711; Tue, 04 Jul 2023 08:25:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688484315; cv=none; d=google.com; s=arc-20160816; b=spp9ihFoS4ZvcufWpZYOh5vBThpY0O45hOL1vjA1wpRUmK/5mVnMNiMSxtQ9M8j81i CjzISde15qRbPUC4BirsbWHKdqEoFquhoii3FWClRs4Ds3IMaeqLhy9qPR9dL8UEMQg/ 6SHqb5eQVOwcpu/cCtXUqRe7qWQOlBUGEWa3G3eHERAgxueTN2tK5AGJLZHSfFB3ZN0R CEQ+ofWigzk1jOva5a4uTJFU7RG+jR6zpH3ck4Lxfy2gE6amGqSs7+yNI+0ZvSQRTrL1 vGOMlRj+lpWewHJHxSY0HqimJ4HGLu3rx1cNMksWly8UJ/LSPY1nWmCrn5S6lVauAetC Fy9g== 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:sender:dkim-signature; bh=shPbm+uI5/3SC13jgWVKcgDz0ij5+5a9JEJnuF1lyl4=; fh=7xDUvrxxbgEgLt4vCLPzv9DTk0XxZbHeAC7axGnmBdo=; b=DzAeS3jWVIW95y6JGHSV8wKJUcwG8WbiYsnu2kAJwPiaVwpSRya2XtNYNsi6qv/iPq XiKCPda9Lt+rySHgmMYMiEYV7cK/KO8M45ByKG24omEhWWud91+AIsR6uLd+H6HdIu4t sc2pyEFKmj58Vsgovcz4EAUoUiT9El18LOjGhVPpE/KIKC9E7xujwNTMD6F6TXMoH79x jr2c19gIbmy5sWEYB3T0Vh6PGheY/3v8qzutwhI8XMK4U8i+/9Ng0MST0F3Bd+5Ykn67 mzbsVYKzXkgsdwfwmNWnAVPpxgLjoPAm30S+fhUzkLKstCIQxHDyxGoX5TbOvRqlRyoK tYIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="UC/S3gdP"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rj6-20020a17090b3e8600b00263220254e2si15863209pjb.41.2023.07.04.08.25.00; Tue, 04 Jul 2023 08:25:15 -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=@gmail.com header.s=20221208 header.b="UC/S3gdP"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231370AbjGDPAh (ORCPT + 99 others); Tue, 4 Jul 2023 11:00:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230264AbjGDPAf (ORCPT ); Tue, 4 Jul 2023 11:00:35 -0400 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF408E7B; Tue, 4 Jul 2023 08:00:34 -0700 (PDT) Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1b7f2239bfdso44959985ad.1; Tue, 04 Jul 2023 08:00:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688482834; x=1691074834; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=shPbm+uI5/3SC13jgWVKcgDz0ij5+5a9JEJnuF1lyl4=; b=UC/S3gdPWd6a4p3b2UUCvJ21EhmOKfeF2uNwpHRnsgBiPBLfsSAUQH8uc8eXnkV6PB GCfedF4FF4Ysx2PUUI5KINe5+QFR70c95VVFhnOl9PLOB+B2V3rAV8jNaAenql6to6if Cw6Nbs//dahRBPB1XzBBl7p5HyOKvFITHJbqHE+UvzH4Ze2ndBuv6nfbFIKiu1wnskI9 MwXLbvgSm+cbVs9ei8pVK9lc2/a59O3W1HTvKn2czGFQisSqWnOsUbh5uCfsuepUK7ry 3LPbugOMYTerMQ25VGdyo1rT+qTm4OaMFFZUJv+KgLSTxJ6iWeUokLtCsZ+eSYqeJKiG U3wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688482834; x=1691074834; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=shPbm+uI5/3SC13jgWVKcgDz0ij5+5a9JEJnuF1lyl4=; b=SfUAVuNU9kP66bm1DTl6y1UPLO46P2tEmchUkrRFnIUVfhBuQXPDG1SUgfkYCluNjF 1PYH2Uyl+ZlQl9vA+b58BVUIQ6DtkJC7Fr4nyIJwphYSKto5SXlRPeBy2jjDZkp/jLux 0txGvG3am3ANlIWEo0Kxso5NcKuqNjOn7cIHxzEXwanlA07MIujOsCp2StSYvOis6juC VNvpC3EZuZPbluG8Ok/ZdoeauT8xUKfPFIfPnt93rQks33VUOx7y8d/PBrbjy8IqJXLt i4qzpPmX2dhwr4KhrtIDFJQMhOIwrB5LevHCeqUrZGSQlAVSj0o2QRV7zY4BUhniL0dy ndMg== X-Gm-Message-State: ABy/qLbrQLZB1dNwhFbz6Q4n5aauPmAhq7ag7Zk9fgky+ThoNLVsQpck ymbMWlYt3/iF0yhNyPCQo/temwmr8lQ= X-Received: by 2002:a17:902:f546:b0:1b6:6f12:502e with SMTP id h6-20020a170902f54600b001b66f12502emr16904934plf.49.1688482834277; Tue, 04 Jul 2023 08:00:34 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id j17-20020a170902c3d100b001b849932030sm10180908plj.198.2023.07.04.08.00.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jul 2023 08:00:33 -0700 (PDT) Sender: Guenter Roeck From: Guenter Roeck To: Andi Shyti Cc: Wolfram Sang , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Guenter Roeck , Rob Herring Subject: [PATCH] i2c: mpc: Drop unused variable Date: Tue, 4 Jul 2023 08:00:31 -0700 Message-Id: <20230704150031.385001-1-linux@roeck-us.net> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Fix the following build error. Error log: drivers/i2c/busses/i2c-mpc.c: In function 'mpc_i2c_setup_512x': drivers/i2c/busses/i2c-mpc.c:310:20: error: unused variable 'pval' Fixes: 9d178e00583e ("i2c: mpc: Use of_property_read_reg() to parse "reg"") Cc: Rob Herring Cc: Andi Shyti Signed-off-by: Guenter Roeck --- drivers/i2c/busses/i2c-mpc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-mpc.c b/drivers/i2c/busses/i2c-mpc.c index fb1b640f33b7..f460a7fb4eae 100644 --- a/drivers/i2c/busses/i2c-mpc.c +++ b/drivers/i2c/busses/i2c-mpc.c @@ -307,7 +307,6 @@ static void mpc_i2c_setup_512x(struct device_node *node, { struct device_node *node_ctrl; void __iomem *ctrl; - const u32 *pval; u32 idx; /* Enable I2C interrupts for mpc5121 */ -- 2.39.2