Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1815213lqa; Mon, 29 Apr 2024 23:03:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWjCQNGCt3uVunUqgd+OpMlxOxKHUlNG+IZnK/xkSm7DtnX7nwbpZSH5N0Rls3EU6CTrLcmcgwH+tS/LxIJ0Ev0eCpD03bPOHDTNlXvlw== X-Google-Smtp-Source: AGHT+IG0FEAR+6ha353oSwNRNaLJSGT5KBP430fNmXYzTHrnJJmn1O2g6/g73Hn/AP221dOQdJel X-Received: by 2002:a17:90a:6983:b0:2a4:833f:2c1b with SMTP id s3-20020a17090a698300b002a4833f2c1bmr12194269pjj.9.1714457039308; Mon, 29 Apr 2024 23:03:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714457039; cv=pass; d=google.com; s=arc-20160816; b=XIwlVQ1zbXuK6uia3A+YSOczHnRcTTPyojXLXxoUdRXjx4K2nqg6iCUE4uKshwFbm4 8yfRRUKA0p967aIACHXErkHOSiJuvIgpm5pm18u6kkgx0ZYRu9XBwMOgCnL8ErhGEwrX pEOsMcWmgcdGwv3YJxD3vS723O8fldC8+HIr1gJLGR2okYJAhvKb/ZP5EwFaNxNMLXRI ewe4mV8/04/Y9Twhq8DtOUS22xB4vvyx/WZXDMLZrXfQApNtnXyCBDQme645dnIPfA/x 0yTZVd8JvgvyBHRhrO5mDtGCT4TyWgDHibwh/F+AIKNENp5KtTpyS7T2C9nh3Fu//3va VGbg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=3f+ijQyeya70KJofDglQNOZzfNHaShj1cgKGVLxvefs=; fh=h2UDJDkgGCLmZqQHHJbWu7SbYBJy7PAFndMHO+gJk58=; b=GxPWOmlZd5ToNC+tHOHJpO4x9D/7j73ojoTP3U7MdwBEgRNO2huzWOKlmKCJAZ4M+x AMkwjuc5Sf6dIYKgjiIPAI159kAD9izuTZ2GMwjmY3hcK92zWuFRrAAZKQbEDWlpvSN9 DMqgZ8EVXxX0lH9bCf7tAQB3QsrQxf5OEFJp8Db1sSppoDYjZ99youb07mOmdkay2DTh XN3U9xJ4zNctsR1a/nrJG1pOLPPqGWg6x8FCLBFZuGvYMCjp7i1METYLwxf7BL80ecZN dWIeM2ECB8AAzcWpIrKSdsz/7EvfbVNUzDTDrKAZ880Jqd253fBPCX0mSlrBPQpJH+2c XPLw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eZNsf7Sy; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-163384-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163384-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id g10-20020a17090a128a00b002abf2247a04si13611510pja.75.2024.04.29.23.03.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 23:03:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163384-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eZNsf7Sy; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-163384-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163384-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 521B5283DDA for ; Tue, 30 Apr 2024 06:03:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A9EBE17BBF; Tue, 30 Apr 2024 06:03:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="eZNsf7Sy" Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 738E717732 for ; Tue, 30 Apr 2024 06:03:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714456994; cv=none; b=kAaZ6LmJeujFTPL9E6xCHSqKCPGHe05gJfumnKUuK3lp6HXJT4GvI/dR1RksdYtql808iBUfi0qXLv5PvKcExNKixkiMXr8KizdLjMunMDXNRe9c0AjLbcFRUwG+w/4i3PceBY5ThIyYiRjvgAxIrPtH+BTk3ZRyDo6jKQqPEPc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714456994; c=relaxed/simple; bh=wtyxCJh3Ttb/JDN5D3EE4COwC3BdfekHMXHWvpmaJO0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=KI/W8RrGZHsPYgvuwAXMHHQFhT5oPzeQYnZ96xXucuQGrYGWhBTfW/Iscx8yyBX/Tpm0IXkLVeDmKtAu5MiI7b/0xCGeyafemW3iDPF5G9FK0Moituo0Cb/GfGZYdPlnQUX3Jenj+XtHUivRIFMmGStDTZC8sL15jXhEztDpS1A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=eZNsf7Sy; arc=none smtp.client-ip=209.85.208.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-56e69888a36so5497141a12.3 for ; Mon, 29 Apr 2024 23:03:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714456991; x=1715061791; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3f+ijQyeya70KJofDglQNOZzfNHaShj1cgKGVLxvefs=; b=eZNsf7Sy3+QpkZE+rWrrU+yaVGKDGSJTrDLVyqufMvJ0WVe8bPmIWlhj9VPHE9arbe RkAgdq8P5wJRriU8Sgwyb9WQs5LhZUN+qTo5GZeqiR/+r7KIvby5DysR5fG89w/plAzg 7ccS9teBB5P8feoB8BDmoYbhAtlPpklC0xa4YDahpq6QI7F/4OZvXJhr2yWUnotypkDg gUty+QuzA/iYRqCN6JfyQ+mcy9Ne9Ljf48LxpvRVt/FlHZmCOMaU8MjVNZzxqFRP6c8R TyoK8HI0lRGfY5wJX64qkPy1pCv7SyNTmOiy7g2SjnUl4ceZYdgNglCShMBhrpadBCnx E0rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714456991; x=1715061791; 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=3f+ijQyeya70KJofDglQNOZzfNHaShj1cgKGVLxvefs=; b=fE2B3tvDDglMrkx7KWAk5/p1o9fP2MYNkqlb0l4cylPxx/aGY6CMMvZtc6gHlz0EOR gtHVFkimgE8dd56EaARAX4YGRMn9OgkmkQ6HZ/DZFQT9VY4r/KuG3HFEDievXWzuVDPP JpA6y7r5LFO1wuvd+5iG8aeIzuWiRxRRudfNSZYfwxH3PRu3EVdZrb9gWI+4pxcfndXE CJoiOCmMq0xrMjzlzzprxpSdKoaw9+f3zt8Bked9qH4NXuQLYj4vMUfTd8mNRVqUzz/A ylQ7lFSFUMPyRxQ7iOA4WE0F5Ji9XVwhPG/5VfJOgVeMyz7ohxZYH79wNTIoTj+KiD+b uNQg== X-Forwarded-Encrypted: i=1; AJvYcCUs4CHZalAExRRCFC7yFFU15p0jUeXKqU5zogHXG9VipNAumoe3W0iXVlZm6NA0SdbZBS1gBLZaGYJY2xFxXNF/B3KxVGFp8vrRkSij X-Gm-Message-State: AOJu0Yy92RU32W0PAgX8w9wTvhs6XVXXvo2cyfdXNJcG1Tjc/4Tle13x +70VAKbZLtHSqcyp7BuuEOLoT+b1eWz5ny3SLnjqcRQVn+rEgJkmhgQgAafXbno= X-Received: by 2002:a50:d497:0:b0:572:9c4c:2503 with SMTP id s23-20020a50d497000000b005729c4c2503mr227076edi.38.1714456988740; Mon, 29 Apr 2024 23:03:08 -0700 (PDT) Received: from krzk-bin.. ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id ca4-20020aa7cd64000000b0057279d452cbsm2744580edb.83.2024.04.29.23.03.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 23:03:08 -0700 (PDT) From: Krzysztof Kozlowski To: Krzysztof Kozlowski , Sylwester Nawrocki , Alim Akhtar , Linus Walleij , =?UTF-8?q?Andr=C3=A9=20Draszik?= , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , kernel test robot Subject: [PATCH] pinctrl: samsung: drop redundant drvdata assignment Date: Tue, 30 Apr 2024 08:03:04 +0200 Message-ID: <20240430060304.12332-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 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=UTF-8 Content-Transfer-Encoding: 8bit Fix W=1 warning: drivers/pinctrl/samsung/pinctrl-samsung.c: In function ‘samsung_gpio_set_direction’: drivers/pinctrl/samsung/pinctrl-samsung.c:633:42: warning: variable ‘drvdata’ set but not used [-Wunused-but-set-variable] Fixes: f9c744747973 ("pinctrl: samsung: support a bus clock") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202404300825.6lxLwvUY-lkp@intel.com/ Signed-off-by: Krzysztof Kozlowski --- drivers/pinctrl/samsung/pinctrl-samsung.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.c b/drivers/pinctrl/samsung/pinctrl-samsung.c index f4607b8493ff..623df65a5d6f 100644 --- a/drivers/pinctrl/samsung/pinctrl-samsung.c +++ b/drivers/pinctrl/samsung/pinctrl-samsung.c @@ -630,11 +630,9 @@ static int samsung_gpio_set_direction(struct gpio_chip *gc, struct samsung_pin_bank *bank; void __iomem *reg; u32 data, mask, shift; - struct samsung_pinctrl_drv_data *drvdata; bank = gpiochip_get_data(gc); type = bank->type; - drvdata = bank->drvdata; reg = bank->pctl_base + bank->pctl_offset + type->reg_offset[PINCFG_TYPE_FUNC]; -- 2.43.0