Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp630561rwl; Wed, 29 Mar 2023 06:38:54 -0700 (PDT) X-Google-Smtp-Source: AKy350ZQFM7H5/9JO5suIJs8E8F8KM1d46Zm4s5eMNoTtzZOC4GRReXerHzK0jjXdFpERhKgCAWp X-Received: by 2002:a17:906:e2c8:b0:932:e141:29c7 with SMTP id gr8-20020a170906e2c800b00932e14129c7mr20676084ejb.19.1680097134654; Wed, 29 Mar 2023 06:38:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1680097134; cv=pass; d=google.com; s=arc-20160816; b=Mqby/L+2ZJszuchjAJqpxXpyl2NftccjYAHKsTtq/THCl1W86MRiCA3i5cEuEv5pdW o04GWu/amOlRqjT/OlSs+UmpJRqa8JI4BO+wfZUOsNDMoUYxpMVmLU3IDONbjFdnSSyq 3lavNXPZpb9iBZr4qXpZP1IdOk00tPetEJ0zj1BRA8jHl+tsZJGSuhamVnfSCQM6t7+T 7lLTUXHD9tQyK0s0t9VoAMj+X90UHsswGC7xg4KJ+XgUlUtz3uWdFe1UosaELWPPcgO5 Er+H7EfnJPWTEdCkICUHr7+J9mHkQRDUJhGsJIdSfi5qVh/BbjNSPbNdzMdoh/y3Hkd1 pQpg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=B6VTIB+A04Sdz1FWBTxIcWIjO51fdwqVXH5nZ7DZMDw=; b=LdaOdEtIqqojglZgslTwKYjSIX9oo0hxdtKnMjZaac9IgXrrY4oqsMG0enxZRK+9Xx +dsoBAqvt7S06Z8yzCKpVCB674yVCIDZX+f/r6CVsyBrl0H1DIsmqsrz4C7urHIgjQiG Ta/4O+NK+9lb7iV7TO7YZy06k337k4cIfpc+dgKlxZlH10IdNl80DhGOoagiTo86qYsW ui31KWW8W1aXJpHsc5UC/w/wICFrDMGELCP4IgA/eeMXczmjVD+bRtGUMZDtkl5wo2dd ClNLK10zjmioYP+yOoxH4+Jbq1lldu4JypHUg1LFEW9r3labzlcpn29sGPPVq4k+u1MS 4Oww== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b=JcXK8Ayl; arc=pass (i=1 spf=pass spfdomain=corigine.com dkim=pass dkdomain=corigine.com dmarc=pass fromdomain=corigine.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=corigine.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h16-20020a170906399000b008d278c51d55si28716463eje.805.2023.03.29.06.38.28; Wed, 29 Mar 2023 06:38:54 -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=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b=JcXK8Ayl; arc=pass (i=1 spf=pass spfdomain=corigine.com dkim=pass dkdomain=corigine.com dmarc=pass fromdomain=corigine.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=corigine.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230234AbjC2NXx (ORCPT + 99 others); Wed, 29 Mar 2023 09:23:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230313AbjC2NXr (ORCPT ); Wed, 29 Mar 2023 09:23:47 -0400 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2108.outbound.protection.outlook.com [40.107.243.108]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1698749C3; Wed, 29 Mar 2023 06:23:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kzn9zMRy/j/4FmyQINVwyyiOd1qnyu1MZZnH59x6jiYKxrdHPzbTifQ4LxnMPn96PZonyKnZnO7b7A4WpaC8EZ9AC/3aF7W3cGMwLwb/6sftGgTvUzuGQcF2fwxdItm1Dke/GDJBMmwISeSi27i6jZocarrgFKJGU+n/IHeAy1/vkMBLqUzasZ4YjFaSV5A61PH4dqslb5HM+QN4p6XF/0go6DELVijpcz7xnzWYgSa17NKaBxBw4hLZbSJinoy/gqySE3M+1jinYe7BasFYaSyVeXRcf7gM/EnX8/P4xf5bfYVEZX+R32qx1q/gZ4I/r+Iz5wX0BNx7J7zOkummLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=B6VTIB+A04Sdz1FWBTxIcWIjO51fdwqVXH5nZ7DZMDw=; b=BaadVxRwWezcKiAYt1DA1g0nqyHQMok2z/MW9aaaBbybFyK+/yqei6M3unGdaRh8XwWG16vMJrE6IJdCTaL/rGvDEfpwNiYI5lBrjdSQRyKaxqC4ohk/HkUDGSqHen9EZGZwULy5igxpjz424DME6UY1MY/MSswIFmmVNIe4341xY6aN80Dat1D0WCe/wOrLipOIyVkbHdpVgz5e9Ca4aQ1dQmnZcqTvrgbuGd45bus1QBP1As2gl2A8sSeBqhfv8C7GJTbuzrEzG1eKQF2oQbZon+GWxS94kbzR73Dq6RV0sG21S2uB0EsuVepscZ0ovaByWGC7AzXkmtIe8GYedg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B6VTIB+A04Sdz1FWBTxIcWIjO51fdwqVXH5nZ7DZMDw=; b=JcXK8AylX+8ObT3KkYchXaWnqbk5/31xrssSYHgQoRGsLbGG6QqkxdTVhgqOrqetn1WHwD5H6ubhiT7CSN6vB05Rdxbo+6X9lPiL2jWWOICduToDt+GGxOix/5Y7jsOEkXHxBqLXhYrWvYWgtSzHY478/vLrc+EzLN3Zazf1muQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) by PH0PR13MB5777.namprd13.prod.outlook.com (2603:10b6:510:118::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6222.33; Wed, 29 Mar 2023 13:23:38 +0000 Received: from PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::c506:5243:557e:82cb]) by PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::c506:5243:557e:82cb%4]) with mapi id 15.20.6222.028; Wed, 29 Mar 2023 13:23:38 +0000 Date: Wed, 29 Mar 2023 15:23:29 +0200 From: Simon Horman To: Tom Rix Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, nathan@kernel.org, ndesaulniers@google.com, petrm@nvidia.com, leon@kernel.org, shayagr@amazon.com, wsa+renesas@sang-engineering.com, yangyingliang@huawei.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH] net: ksz884x: remove unused change variable Message-ID: References: <20230329125929.1808420-1-trix@redhat.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230329125929.1808420-1-trix@redhat.com> X-ClientProxiedBy: AM0PR04CA0118.eurprd04.prod.outlook.com (2603:10a6:208:55::23) To PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR13MB4842:EE_|PH0PR13MB5777:EE_ X-MS-Office365-Filtering-Correlation-Id: f583a2f6-37e6-4c24-2ec4-08db3058ce4f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DUSV3J2zWt7v8RCLsVupKb96LZnsaAtkjeYv3WEquBkDJMe8YPoudWNUH2zFg/xiEXEy6yTE6U4XXiup/fLSxC0th+0zHR9Sl3Gt7sOLCsk8K+82aliU+rpBj561XQMIYejc6TX++3qQRgnPU+vkgsjIdeYe0S4A/cL354OxYoOHibGLt6IKaz5svaXjUeqOKwPDmC93tSL8yxj06zEBsGykmShZd9ZXo1lyQ8nLUdo8/1tXB8TeAVM5hnPHJIoT7sEL6MJTGdESIY2ZxQ0o/GV5mxMQyqH0OvQTsLZLfcDjGWLwr3+7rjo60CK0BoHP0OWTCb5sbfUhUAmakwf7oL8kJ+a3xKZcP+t7RfgNax8pLvGzKqPwHloHlC/5YTPabMp/6yUOML8nfeOnUFiU+L/WEDgWHiIbb6uWuweSabGBNM0z1/4zDGFWjMWug3kDXrydYxlgrM/LtkPxC6okmFqyiFYVyM6O5vpZgmtIqo+a4Z7D5GA0H+O0ogxNmM4BZsFXB19ZqmMRq/67n/+eC+e0+YR5XLmTYBPDwBOghs56rAntMZeJRVTNP5rMwzEzopX+MdBlIp27gDV2DNX+pvmREG3u82P2tvSU62WFYvE= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR13MB4842.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(39840400004)(366004)(136003)(376002)(396003)(451199021)(4744005)(2906002)(44832011)(38100700002)(4326008)(41300700001)(8936002)(7416002)(5660300002)(86362001)(36756003)(6916009)(316002)(478600001)(6666004)(6486002)(6512007)(6506007)(66556008)(8676002)(66476007)(66946007)(186003)(2616005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?bXhhr5T8hnRyXVj7vurWstaFxudXtMYre4EDVYzz4Dcw7upyc+qqWQi071wd?= =?us-ascii?Q?pgiGY2uWAiIoDDzgH8fV+Yc1CjBjjuqX+yxYVBmA/UXx46r0jam3B79hVHGx?= =?us-ascii?Q?oNcqvTLCK0+vPa7WSnPYCMUhFIhE3JgaKRkOAZWs8/QNrw9c5WSMg+h2qSP9?= =?us-ascii?Q?eFAOvBldy/vkydQI3fgtoCoDpc7M+wG1QyPUe6MJlutWUCXp3BqUnwc2e2m6?= =?us-ascii?Q?t2VFDoiMemH0ITBLIsT8mRcpLUVZaoQ12izQUZsUgTtHhUNBF5co1gfothXm?= =?us-ascii?Q?/HjGavjxi0PuVYuQzHf3sSXvNue5xH4tuvnzgbxJ1a6AqiEWRjhyMPre8C90?= =?us-ascii?Q?OychksWDXz9KK/fQQPXcUzCAeC1NmalMx0n6v5KjRhRaqWD2892DTIDj7AgZ?= =?us-ascii?Q?S1xnz4YuBXVTC7JDL6HbABpUDW8C7dzspobsqjhRKfny8V0NzHui99NsYSdz?= =?us-ascii?Q?+9Pu2hGY16GcJaLCncxlX7+E+ZWxH/T2CwduAy0ry93LSrxnXJGIx8pxuW38?= =?us-ascii?Q?f3kB+HeRhNjq9hq0ZiOgQ8G5yMhnMswxLKp+l7jn/anHklrKrSPRD53O/bJF?= =?us-ascii?Q?6xcgd9V1ULcF23qEglAgXNerMYzR1GB99S2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ldt4K1m2gEtkItDy8UsuOedZvxm1AQBnBWuOeB6EL8eeidczTMoi3Km?= =?us-ascii?Q?L6VxdrH0pKUIaY6QOAKDm8wHp4MrPuU6Ymb5iJZTx6/PDwgNbKpLrhNU6XyM?= =?us-ascii?Q?+SbZ8JkP1b+iqheB2wCzufpscS7AzQXJGBmhEGotvl9J4FzuNUz6rO56zg7v?= =?us-ascii?Q?8W24aw=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: f583a2f6-37e6-4c24-2ec4-08db3058ce4f X-MS-Exchange-CrossTenant-AuthSource: PH0PR13MB4842.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2023 13:23:38.2819 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: urjkq/diLyr6riLPIwupm2Udne6XFVUmIDN/pclw7xoJbNlW+RYnKKSc/VlqbKKyvjpsJLgoup4mgsFxmBc6HafxqUQih7IthJG9oGhmli8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR13MB5777 X-Spam-Status: No, score=-0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 On Wed, Mar 29, 2023 at 08:59:29AM -0400, Tom Rix wrote: > clang with W=1 reports > drivers/net/ethernet/micrel/ksz884x.c:3216:6: error: variable > 'change' set but not used [-Werror,-Wunused-but-set-variable] > int change = 0; > ^ > This variable is not used so remove it. > > Signed-off-by: Tom Rix Reviewed-by: Simon Horman