From nobody Tue Apr 7 06:19:21 2026 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (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 AC5641A0BD6 for ; Sun, 15 Mar 2026 10:58:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773572340; cv=none; b=XZ9Ntqnrm327KdJIX3rnngn9Xhf1PAmF7eBO7Ap++mX6yV+FYYBID+5X0uglvPbsLgUkAKovsmngKIc5jR+rtn+/YbsodOfr6o4IUtvlW163xJfhddBWDAu7ionBTBTcBG1A0LmU7tzri8+9DOQQOKa67YXVtFvKXZPeHY8DzAE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773572340; c=relaxed/simple; bh=j4XA5xELSfK1fZFHR8TSjVwoCFyEQzH9HCSBv9nGUjo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SNn/HaxsLlV7HxD/XEbseX8ZC4b0O8juP2Y6jyNayhboO8MOCTCNdc65dCLqhKXMIvVFNsbJL+3W9gFNTCPxqeHQho7OsOph1L12m/cnxnD1Qi22GM0CmTOr2lhqOqgWorg503+CeQMsthRuDnRxSMBl/QdLn198FdaTgmM0Xoc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=in3HCQ1u; arc=none smtp.client-ip=209.85.221.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="in3HCQ1u" Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-439b73f4ab4so4121450f8f.1 for ; Sun, 15 Mar 2026 03:58:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773572338; x=1774177138; 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=DDWezVGPsLaY+EZX4t3/fksS/loBe8oTtJGFDBsLxP4=; b=in3HCQ1ucnoQWfBfEWngHTt6lqO+E3yIlrUWPKPJ/GtHILyp/tezbQnmwFS5ZcWF09 aL36BjxANIFzxhjfQCDVtOINg8QD90lSNWnIPHAxKPDU2s4YkwRNB/T61cfpUOXCsGMO WOqiY02wBkWBkYTOvqIcLf8YX/tsPlt/YxnO08J+txl2jQwONZYBLPQ8TZXBGIi1gxcf NsDbMfPtXTtvwBSf2V5YtVvI7vpvtZi0xoxF5v0cbWW72TJtRDVVP5zJgFq/gi2gKYuB NpMvMi5OeZLYqQXhd/BFWvSgO3SW8qczHs59ht62DuIYYhtiVkHzsSAiLt4BA1wbcT3u Ky4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773572338; x=1774177138; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=DDWezVGPsLaY+EZX4t3/fksS/loBe8oTtJGFDBsLxP4=; b=IjriIHwZu1BictXR9vMQkdM5ntSwhthqK0s/XynRSwUwIh7VlNS+17sJbjVZYPP1zb VPbXXkjbl4/9jCkJIAyHqdkYTpyBN+sBYJ9s4SwZ7LvjeIhx/NEqOpu7Uzu+VlzspB0U tt2l0ZoTakLoWkFRt8A+zph5CDS24KaqnThRLkPqsn4uy5Lm9KQ7X00gtulM+2su7hg7 kuR8JjF9FljXBU9k0ppg+fmwy9oT/JMJmeFTw+AjfCvNDUc5BXhNDggCfZ9DKYI8imOH UBuCcup3mVhphSFHa5uy08V2cfie4wET9yvXaTAKX0VHJeOlP3YjXNpX/J/4iSgTxCUL bjuQ== X-Forwarded-Encrypted: i=1; AJvYcCW846vOuLXVgcSarnO6GbGcqk1vLzzqNjxNJZN2bz7ou/mRgW+/ffTQQnQkZq4+ENraLPVUH0Jlyeb7IWw=@vger.kernel.org X-Gm-Message-State: AOJu0Yzx6ER13+4gtEObkexuCz2xGLdEwNllu679nSyEy0/fZHPNW7EW Nwu6k02/3U7sNuop92jccHlnsOOwTQwiKCtabrKqPL5iepgcpFJqyW3+ X-Gm-Gg: ATEYQzyGXzkUooIoJgw7dI5uQZ1FM4TwQvcH7Z9YP7/T6SpF6R3Q5Jb7Y8NBwiqotKZ Ta/j5SDQUAxdkZVpB7+TB6R9hVGJImEZq4/1jiOgWDOHxayzJVDOepj0VBRXAdRApsZpx++SeVe nXPV6zosO6NSHon4KBKBpwF/RU6eExi7Ju0TkWuQrac7L6jggRUmAsdlJg1pvwZ7HAuaYgxE8GP hjbMqnsLIWlA6tN3kFsUNzCbBKXxfneaJZE4cGaEqZ7qAJWGs+QlOug462sZUahQpzumS6UmcW6 ilohCxvzLiwV8ZHOUCQJ3AlFjPmP+ucdDzmtK8e2OF5rYAyAHnjB0jXkCzxgEMS1258iRA6NUbi 2HNToCantYStDyRJGFQ8RiL5LoHa90sMAPRj7LoEeiR4snt+xLb5dYCoTmQhf4n/Bf6M1SaV2fU 3wR7YkFKnv0dptW6NbBMT64ibx9Q83LREer9TTBVNYphDBGfa9L7QoAG6eZTW+14OZJK5yX3ly7 2rPl52h2kp0Gx/2Z96ozXkNAxBIBHQCvw== X-Received: by 2002:a05:6000:4305:b0:439:ae2f:83f9 with SMTP id ffacd0b85a97d-43a04d83c3dmr16927584f8f.11.1773572337755; Sun, 15 Mar 2026 03:58:57 -0700 (PDT) Received: from misharch.salamander-pythagorean.ts.net (net-93-146-220-2.cust.vodafonedsl.it. [93.146.220.2]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-439fe21b631sm38010070f8f.27.2026.03.15.03.58.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Mar 2026 03:58:57 -0700 (PDT) From: Giacomo Di Clerico To: pure.logic@nexus-software.ie Cc: johan@kernel.org, elder@kernel.org, gregkh@linuxfoundation.org, greybus-dev@lists.linaro.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Giacomo Di Clerico Subject: [PATCH] staging: greybus: loopback: remove unused argument from macro Date: Sun, 15 Mar 2026 11:58:53 +0100 Message-ID: <20260315105853.34609-1-giacomodiclerico@gmail.com> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The gb_dev_loopback_ro_attr macro accepted a 'conn' argument which was never used in its expansion. Remove it from both the macro definition and its invocation. Signed-off-by: Giacomo Di Clerico --- drivers/staging/greybus/loopback.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/greybus/loopback.c b/drivers/staging/greybus/l= oopback.c index aa9c73cb0ae5..855d5051c55d 100644 --- a/drivers/staging/greybus/loopback.c +++ b/drivers/staging/greybus/loopback.c @@ -193,7 +193,7 @@ static ssize_t field##_store(struct device *dev, \ } \ static DEVICE_ATTR_RW(field) =20 -#define gb_dev_loopback_ro_attr(field, conn) \ +#define gb_dev_loopback_ro_attr(field) \ static ssize_t field##_show(struct device *dev, \ struct device_attribute *attr, \ char *buf) \ @@ -305,7 +305,7 @@ gb_dev_loopback_rw_attr(us_wait, d); /* Maximum iterations for a given operation: 1-(2^32-1), 0 implies infinit= e */ gb_dev_loopback_rw_attr(iteration_max, u); /* The current index of the for (i =3D 0; i < iteration_max; i++) loop */ -gb_dev_loopback_ro_attr(iteration_count, false); +gb_dev_loopback_ro_attr(iteration_count); /* A flag to indicate synchronous or asynchronous operations */ gb_dev_loopback_rw_attr(async, u); /* Timeout of an individual asynchronous request */ --=20 2.53.0