From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EF99523D7D4 for ; Mon, 20 Oct 2025 10:10:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760955053; cv=none; b=PUj3K9EsD6wYvbvun6Lf3joG6Smo1Q23BG8dPt9zFGTZRF5iMlxFJ0oYfmycpHoOhK4lsq5e00XJyac2sHDqgNN6O2HAUHUtM/YgwJUjh80PNa4Z5FRI7sbJKIcq7oL8iHV0dWgdoQAKE9gBQEEo53YSn4ztR1aLMdI5KQyrZls= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760955053; c=relaxed/simple; bh=9Lz2Aidu5wnK4L8gWJOKVc/m3XQlXh1QkPKZErk+B7s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EckMXsONwOV3gbSqNQn8bwBmq15wP11Leo7zeHh+TM4fvI1SLbCefkh8GaI4xRjOh6fufTDoUwnCE5Ag/cOjYxKjD0MgQ44jU5OKfe4OLyM36h73owfam5fAcFgZs/XfPqWpAlpHaersWbWaa1pR9AN7Lu22/0jtaMmdzoLDmOs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=JasSIY+Q; arc=none smtp.client-ip=198.175.65.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="JasSIY+Q" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1760955051; x=1792491051; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=9Lz2Aidu5wnK4L8gWJOKVc/m3XQlXh1QkPKZErk+B7s=; b=JasSIY+Qqm0AeQsBaRzZK7Tgb5HKP7T9fnMMptJTWOxSaKVVV++fgRa+ 6vvjgyRxQzcjgW6oy1pN+2ktkECofC6NugNIpBKBx2HqZeBJI+l7b9Hkv VQ1i/KgpIwA+N044GjhjDsHsIJKIrRXsPkVFjsdQlGegm7EyNWBYt7/ae yHEmafnzqWUDxdHjSiBO5lnDTFvlVy25A4nBjzttRG+jVyoo67UGr2nh8 2Ar7t60PqUwsVXJN4YrCGB1XVd+7V6zm/x8hHakYYB7Oh/W1kvOaWAK/J y6sy4snUA3woAwvFolNr0PO8imf3mwQ7pjh/UuHLh/iKV0CnrELB2k4zX g==; X-CSE-ConnectionGUID: x5TOINiSTzGel+i8BGxOZA== X-CSE-MsgGUID: PP8GPAL0Qq+4W0U5urL7jg== X-IronPort-AV: E=McAfee;i="6800,10657,11587"; a="62770655" X-IronPort-AV: E=Sophos;i="6.19,242,1754982000"; d="scan'208";a="62770655" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2025 03:10:51 -0700 X-CSE-ConnectionGUID: 7JUmIlm6Sn+dAsFfYdqWvA== X-CSE-MsgGUID: gaTytT72S8yVPWaVi/jztQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.19,242,1754982000"; d="scan'208";a="213911533" Received: from bergbenj-mobl1.ger.corp.intel.com (HELO ashevche-desk.local) ([10.245.245.6]) by orviesa002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2025 03:10:48 -0700 Received: from andy by ashevche-desk.local with local (Exim 4.98.2) (envelope-from ) id 1vAmqi-00000001GqU-3VLx; Mon, 20 Oct 2025 13:10:44 +0300 Date: Mon, 20 Oct 2025 13:10:44 +0300 From: Andy Shevchenko To: Peter Zijlstra , Ingo Molnar , linux-kernel@vger.kernel.org, llvm@lists.linux.dev Cc: Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Valentin Schneider , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt Subject: Re: [PATCH v1 1/1] sched: Remove never used code in mm_cid_get() Message-ID: References: <20251015091935.2977229-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251015091935.2977229-1-andriy.shevchenko@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo On Wed, Oct 15, 2025 at 11:19:34AM +0200, Andy Shevchenko wrote: > Clang is not happy with set but unused variable (this is visible > with `make W=1` build: > > kernel/sched/sched.h:3744:18: error: variable 'cpumask' set but not used [-Werror,-Wunused-but-set-variable] > > It seems like the variable was never be used along with the assignment that > does not have side effects as far as I can see. Remove those altogether. Anybody to apply this for fixes? -- With Best Regards, Andy Shevchenko