From nobody Fri Dec 19 16:45:03 2025 Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) (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 59D6C1946DA for ; Fri, 14 Feb 2025 19:55:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739562934; cv=none; b=uW60V1146jGAGya+I77hL9cSr0ek9e63zwHmutveqfshFKuHrPizu0Amaq+hgDHcWtd++I/An1BciQ3Z+8SxUoP2pWyromPgK2nf1/6w/zkiB7JW6cXlTurhvHJrNkbWlHklPGMiXqrfSuDXAXZ0l5HKU2H2uWBYlfSSa1i6prM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739562934; c=relaxed/simple; bh=GlLftjDRagTS13s5Ysn5RJqGQA/ImDdXkaSwQnm1HmM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=dcjLm6N7ZffniqqYhs2cm2PKbCNL4JfeUeAl3scph3Fzf2DUjQUgtrNRoSu/l6KIVli1GMnAwFjFZCXWE4s+erGq11b/Dcppevdy8UVukO2IHNdQlXP5rEty0JI4A0lg1/WFAzLrXKNtpyMSZ8yjY09/BkIX168pYV3yrslhuC8= 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=VEWdw2kz; arc=none smtp.client-ip=209.85.216.51 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="VEWdw2kz" Received: by mail-pj1-f51.google.com with SMTP id 98e67ed59e1d1-2f2f5e91393so538258a91.0 for ; Fri, 14 Feb 2025 11:55:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739562930; x=1740167730; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=D1ls72V8E9puB3eNgIJ94RbIr4YeTpcns67AF/rE8Ko=; b=VEWdw2kzux86nJ/qoTMDgNOy3aDSFmW9YAHZQxWIWerZhxZUFuqgAT21uwcaz8t+Gi OQYN/RxNn0iET6DZ8E9BwkSSsB6pwhWzLNBK6AXTAvoz9dkOftKDh7XCcDwMd6Xl/Dht 8FOBjEkdPvqUiITNVPpa8f6MeTlyGrz3hVSSWVHgfbrx+Pndj83XxIXs4FoVB3A6cjgz WXXqgpX2u4TK8ssfLuTHBX4v/5Trzl5PX8lKbpPLzQAj+hkIRLgHneWhRRUkRd8sBKI/ 45jrE/BllRTTQPHHP612SnhGEN8F2OQb0f2Lqz1y4xPl71TXpxJ82TMD7JRHHX1bFFEm 0PDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739562930; x=1740167730; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=D1ls72V8E9puB3eNgIJ94RbIr4YeTpcns67AF/rE8Ko=; b=ngHvsxhrsi8t6c3i8pcTrOiWT3pNOq4/lrIUYMr0MpMViVGOyD6hxLC5PUOga2pxoU JAUcOSGLQCoOZ+Qjvfqv6r2teNe2VV8ETy+qlXZCY6wC2dO7oazOCFX/ps6WACyetvsk 1km2PCJMlngrCQ3Tw0llMDtgc+Qxl1jmQB2C1eZn50JEUtU3Ff6WXfElt6og3JE7goar Y6B1WBZaGWeF7hGSvK9TJ32P7hkoxUnKpdUj8nmUvV6MgUWvBatw8VhWqVIZQseiqEUV BpTdDhiZdlmMGlB88eaPVm7qrl7kPRjr2haeMY+5fXfuqOkdpVcCbXZwYk6yoTsRZRh2 uvTA== X-Forwarded-Encrypted: i=1; AJvYcCXfI4eS2vNhCufkDYGAtweudm9iRHFFTMfsOzAj0Uwm5oaz91AnkhyKWx4lQW9P+BU9v94C1y9H2WR+cDM=@vger.kernel.org X-Gm-Message-State: AOJu0YxSPHFkPoYoizSce5sASV3S1sY8Kbew7xGm1txUoku2ATRKnYFP 7lc6TNP6jbTPKUIZfpCpJElfmwjhYuZOFQxZGEjt0VHbbiIjr/GD X-Gm-Gg: ASbGncvK53Dlg+bSVpOvC843dIFGMKaj/US2jxeiDUpGhMKNj1ZOvERklObqSmD2eNi X9sw+PcQELosyU4kOLOiLZr0pj1pXXnWqBfaGS61uWsHS1rnupbfxSHlmi0QhdkR/j6kEdith/y qHzmGH56fkaiuSXaGJ2R4YAJmWNF+QBO34fFnlfIeeK/2rycGCbIlkMRgXCLUqY8lLk60Pw2xQa 5wQ3g1gD73B+LrgNkTJRR45tVS9bTwj7R8gJHE+YZnO4hihSSN+G+IhLt+DzNOmpEokBFBORCrp Tv/Xq90RzCXeve1+BkTLItYLAkNPFNY= X-Google-Smtp-Source: AGHT+IFjYT/m1MRnPua56A4ceDqKHqnT27HdXDvwyL2LyaK5ILMPgH1OeLlvurwBgPORnzf4Xg755w== X-Received: by 2002:aa7:8893:0:b0:730:f1b7:9ba9 with SMTP id d2e1a72fcca58-7326197e823mr404985b3a.7.1739562930518; Fri, 14 Feb 2025 11:55:30 -0800 (PST) Received: from localhost.lp.veng.com.ar ([200.10.125.114]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73249fe96b4sm2670530b3a.75.2025.02.14.11.55.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Feb 2025 11:55:29 -0800 (PST) From: Gaston Gonzalez To: linux-staging@lists.linux.dev Cc: dpenkler@gmail.com, gregkh@linuxfoundation.org, arnd@arndb.de, dan.carpenter@linaro.org, ajithpv.linux@gmail.com, roheetchavan@gmail.com, niharchaithanya@gmail.com, eleanor15x@gmail.com, everestkc@everestkc.com.np, kees@ijzerbout.nl, skhan@linuxfoundation.org, linux-kernel@vger.kernel.org, gascoar@gmail.com Subject: [PATCH v2 1/5] staging: gpib: cb7210: remove unused variable Date: Fri, 14 Feb 2025 16:54:40 -0300 Message-ID: <20250214195456.104075-3-gascoar@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250214195456.104075-1-gascoar@gmail.com> References: <20250214195456.104075-1-gascoar@gmail.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="utf-8" Content-Transfer-Encoding: quoted-printable Remove unused variable 'nec_priv' in function 'cb7210_line_status'. This removes the following warning found compiling with W=3D1: warning: variable =E2=80=98nec_priv=E2=80=99 set but not used [-Wunused-but= -set-variable] Signed-off-by: Gaston Gonzalez Reviewed-by: Dan Carpenter --- v2: no changes in this patch. drivers/staging/gpib/cb7210/cb7210.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/gpib/cb7210/cb7210.c b/drivers/staging/gpib/cb= 7210/cb7210.c index 381c508f62eb..5c2b2c382df3 100644 --- a/drivers/staging/gpib/cb7210/cb7210.c +++ b/drivers/staging/gpib/cb7210/cb7210.c @@ -383,10 +383,8 @@ static int cb7210_line_status(const gpib_board_t *boar= d) int status =3D ValidALL; int bsr_bits; struct cb7210_priv *cb_priv; - struct nec7210_priv *nec_priv; =20 cb_priv =3D board->private_data; - nec_priv =3D &cb_priv->nec7210_priv; =20 bsr_bits =3D cb7210_paged_read_byte(cb_priv, BUS_STATUS, BUS_STATUS_PAGE); =20 --=20 2.48.1 From nobody Fri Dec 19 16:45:03 2025 Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) (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 2DF851C84C6 for ; Fri, 14 Feb 2025 19:55:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739562960; cv=none; b=BJcxj5TwIpTGYhGeTHhQ0b+arvGVQMAX4CB8x75/Swx2OOuilqhG8G58pqTMdBSku5m2efwEMus8ZEyoeKdIHmjaHNJ7OcgpdaZBQVtkrzg487GdpktEKRdVddwM9hc7uP3DKPHRDgo1ou8ztYG0WVDZV1BBXlUOA3+H1KIgN74= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739562960; c=relaxed/simple; bh=K7bYDqnR9vXpWMpWttOaWLLbXoQP6llK5irYRI+EMaQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=la696MX9kq39yD4Cbr9fgFnhqr/wFKxoJ2XPW9HvvkJ/23g/5npHnXUFK9ZrfdKeFXMBnM9eKOdUCEbtdQUNEXUOw+dGfGl9/QONqJzsnCxsfwnghbFb7Vvq3bQFfF87tvjEc6eKXFhlqtfQ6HJqMT6lgilZmbQUoVrBF7KlbrA= 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=VKeutZql; arc=none smtp.client-ip=209.85.216.51 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="VKeutZql" Received: by mail-pj1-f51.google.com with SMTP id 98e67ed59e1d1-2fc3035e947so209592a91.1 for ; Fri, 14 Feb 2025 11:55:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739562958; x=1740167758; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=e8eFD8Y0Jdwt006d6ZGfmM2mEuwTtejAwkszA51XpJo=; b=VKeutZqlgF8bdPMCsMgxNQb2yJZKURSYR+DWuYC4c2LBFePNRcHlkSTVSdyR0aSPrs zUE5Qn/Ud4IsnGCTtZEuzfXO0C6VytYHS4ETW2AgY9HcVQgv/vj+V8CWqsNiJ9KQ0Jwh Nnyni0zu4TF0nu5gKzrzAYPoIIyCZnvzi6WOIBGjoR7GrfGA3E8PvXMgpDcyjVXogaEb yJPEnHEJqq0TO2ErTePOHXBtZggqfMqENk04sDJoH7L1uvOmYPm/jveuQLmDyW8DKb4O K9L2ZggzA8LCJg8kQuPSp3INMVcBeodRkBwX0Kx06kh5DjpogTi+yARH7TeJAsW8RdlD /e2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739562958; x=1740167758; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=e8eFD8Y0Jdwt006d6ZGfmM2mEuwTtejAwkszA51XpJo=; b=nudMPLCYGiNxhuXYrXB63/qEbmI1XjadV+mwY2508/+cXFOR0Low52gwUFFkR1yOOs 3l4/yoUmuQf2EZSg02TtsKhvb5P6KVrN7J2fOnU5Pp/PPrZYwAzfJpqtGIr2HOTMSLU8 CCeELGv3Nx5c12ymtg1xWJsy5nq24GQVfpFAxcjtGubjXyUniKO5KxiJE7lbYGy4jbrX Wsv3I5M/LnoNDi0l5IBcOp6TEQ56Vn8YwFD8wbZqnrqFa8cejRj9YvJOojtYS6cD0h+X 5e2KFxtfBSaELryDWaJfjrzme/Eu+H8+eTJWEyHSRQnOkLe99DRZOA+Eb+aoTCemVie7 0MdA== X-Forwarded-Encrypted: i=1; AJvYcCVmVi2xn59BPq/x4N3m82lyQJtLNrVeMn92oXvUe0ANKiyjvuzPfLOHGTmllVKyG3vSmfBEuVM6dnVzATE=@vger.kernel.org X-Gm-Message-State: AOJu0Yy/mtGPvkkH8b5DUunuFNZDyi06/jvlMeXjd8/1SGwucTrp6EfL n6RDDqe2P0OEEMwML4S0VI27oHK7WzFvH9DKQvcEc0T/aFIrLz0m X-Gm-Gg: ASbGncs6hy54zyfiNM9GEXphZ4AprC80MRP5ZgaTAb3VTEyy3cYC4pa1KUZGaW25DBC BnzpmFymVgt0GHTiBRhK1xQnVYN4/IF/IIYI25MRByVDLw34k2eB5SUcWQG6AXWu4lRDJ4thVrf QamM8wyCrEDLM59qnyO0MfPoId65+yypudQsMx6Nd3W/Mh/xQsqcMBcwXj2qP+KwMTyInwMVTNK hTMLccJbqrgULov+k2VO+WE503rd8PtpfdEKP0SkyqGtPeyq5CI8M1sir2WHI/OXK7jzP6SFPNg 7iTWYEH2TnNf75CvhNjpQD1BBTxpacY= X-Google-Smtp-Source: AGHT+IEDvxqpJwfdkwb18JB4Bmp8msqxbfmJy94sOkKiuSkAxnIjXU1DN01E3qa2U1W6sH9l5reYuQ== X-Received: by 2002:a05:6a00:3e24:b0:730:83c1:1f79 with SMTP id d2e1a72fcca58-732618d733bmr422885b3a.3.1739562958288; Fri, 14 Feb 2025 11:55:58 -0800 (PST) Received: from localhost.lp.veng.com.ar ([200.10.125.114]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73249fe96b4sm2670530b3a.75.2025.02.14.11.55.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Feb 2025 11:55:57 -0800 (PST) From: Gaston Gonzalez To: linux-staging@lists.linux.dev Cc: dpenkler@gmail.com, gregkh@linuxfoundation.org, arnd@arndb.de, dan.carpenter@linaro.org, ajithpv.linux@gmail.com, roheetchavan@gmail.com, niharchaithanya@gmail.com, eleanor15x@gmail.com, everestkc@everestkc.com.np, kees@ijzerbout.nl, skhan@linuxfoundation.org, linux-kernel@vger.kernel.org, gascoar@gmail.com Subject: [PATCH v2 2/5] staging: gpib: eastwood: remove unused variable Date: Fri, 14 Feb 2025 16:54:42 -0300 Message-ID: <20250214195456.104075-5-gascoar@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250214195456.104075-1-gascoar@gmail.com> References: <20250214195456.104075-1-gascoar@gmail.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="utf-8" Content-Transfer-Encoding: quoted-printable Remove unused variable 'nec_priv' in function 'fluke_line_status'. This removes the following warning found compiling with W=3D1: warning: variable =E2=80=98nec_priv=E2=80=99 set but not used [-Wunused-but= -set-variable] Signed-off-by: Gaston Gonzalez Reviewed-by: Dan Carpenter --- v2: no changes in this patch. drivers/staging/gpib/eastwood/fluke_gpib.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/gpib/eastwood/fluke_gpib.c b/drivers/staging/g= pib/eastwood/fluke_gpib.c index d5b1a03abf11..65bb79a8fd3c 100644 --- a/drivers/staging/gpib/eastwood/fluke_gpib.c +++ b/drivers/staging/gpib/eastwood/fluke_gpib.c @@ -194,10 +194,8 @@ static int fluke_line_status(const gpib_board_t *board) int status =3D ValidALL; int bsr_bits; struct fluke_priv *e_priv; - struct nec7210_priv *nec_priv; =20 e_priv =3D board->private_data; - nec_priv =3D &e_priv->nec7210_priv; =20 bsr_bits =3D fluke_paged_read_byte(e_priv, BUS_STATUS, BUS_STATUS_PAGE); =20 --=20 2.48.1 From nobody Fri Dec 19 16:45:03 2025 Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) (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 C2E501C84C6 for ; Fri, 14 Feb 2025 19:56:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739562986; cv=none; b=FRSe8Tc0rYCm0mF2TtLpWAWpKCesTK2/Xk/g3yTiNUSGj+sjiPKwa6GYPf2l8zPJ9ysuAOiiAQUb9BHAwb2xu3mmCxTNF0ZRhhmoYzPBYwOLAIgzHxn57+IZiY2EC9/+QTXFmXmhLDvPOQLCMaeuotrdxmy/isLCHiL6tqJ0t+4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739562986; c=relaxed/simple; bh=9hUHviB8Tx9k55ubfDviMQfJ+a+JJ2cdWX2BuAb8QO8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BUYONLmxJxwDv5XWfcZqli2nRvWNOaXzZXA9w6hKqOi6tsZZRCChBQ2gHweCZZWVCVMbtNKSWc8Z6/PptdM66MwgkV4CqJG9KBo36YxVSLV65B2MW+9I1xw4o+Sk5kSsEpiqdhBY8zBnE0wk3Aka3Pgxle9rW/LW7OOrCWQ2Tmc= 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=GfJF7g6D; arc=none smtp.client-ip=209.85.216.45 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="GfJF7g6D" Received: by mail-pj1-f45.google.com with SMTP id 98e67ed59e1d1-2f2f5e91393so538433a91.0 for ; Fri, 14 Feb 2025 11:56:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739562984; x=1740167784; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XoVqtrul78ZmQYxag5zWjsZlqRvCUyfe2dogin21crY=; b=GfJF7g6DstCjr5uzTuVrOQBv7IsBB12bC+MYCqmh+ZUUSCqGlUFWgwyaz5TaJs4pic cjMqInOBZyw8i3x0O/lCe8RtIrjofE1U5j56IaUuQrwJPop9r0M7X379GoH4i04hZOdb 31Jag4xb+QY6x7ZfmJIJWPx6o5oPYH9OCTt0MSI8cUfb9DYaNO5XLv9TcxUb/zZ1A/Hx 2NEr4HlczOSitASXnnj/Itj5d77cTDp9swYPBWMiNkjwj+U+gv8hK2dqc71Avv8puELx alKfe2i9eX7NHHoDpYRE2NJ7T6V/PZVV6No25ne4VHUSHSDnTxffPcsIzYSC1wI1go/x Hsew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739562984; x=1740167784; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XoVqtrul78ZmQYxag5zWjsZlqRvCUyfe2dogin21crY=; b=jHq1EC3BevWXjtaUrTfHFg3I13fLfHPrfYq40zNRdQ/odOSjN+bD2Ird5hXwFXr91l sDjEqGZ6sUifYr0XG4/CN/i3GSrb3ELY0n43GXJP/sEeK9evXncUrEThR6hmP25orPuF vRp2ohKBGrk689iPxHODwwlHCdVLOlXWXuxnYeW/jA5UqmtJ3xffNVh0WCejxMlXNCSE qRLDLVGeD0Q+g7nKb3hgmbO9bFIZr7eQqURG6IZVeoyJbSDbtBQWUy4nRis2DVeZMKR8 eW/7y0EdZN2TVcQgIU8Z+HyihiUalR7CDu9CwXqpDmJfdM0mQh8GXd2nB+mTpYZ4zg+q s4HA== X-Forwarded-Encrypted: i=1; AJvYcCV17j5YgYyoGjQJrjyzNoycVoPiGmaPbZ8vnhyge7aiOWew1i0vl7mA3l2M5/9PnsaX+wehpxTaDMqXuLk=@vger.kernel.org X-Gm-Message-State: AOJu0YwEdeXCCkNhcYhrajX0lzZ4/VsHIPPHICBOCr/9b/lw8J8pzN+E 3TqoNYB/6FnrY1HCBxYutORK7GkLtNDUKqW9L5V/lZ7c2GPj3t9Z X-Gm-Gg: ASbGncsxpDyQ9GqlZ/jl4skELUpXAhUAGWIN5oA6z00MYnMzxMk5c6JT+FWt4iLhugj bzifhQFGkUR1NLILm5cGETnAiNS/36ss0XEBAxToEz7zHmHE7j7BaMknh76lkw+fpuWJnlMTIga a/NL6Prba2871We0GswUJEj2Y+MQiZ1ZYW9zVLtKWYtvQ+6UTmNV36u5UihBoHEwiVXIhMvwRUH 1QDUixPHgRsmt83ftLu5t5EotXcF3o+ipDqGDCdM71qRsWUR3nOw1TQh/YIvPzC8CKUOJ87zWZU L6udGqLVVVB6Ci6vxO+Qo2zDK3Mgv2I= X-Google-Smtp-Source: AGHT+IEh5vY6/1BBhZnY57v96vl0eVB/BJ6qr+oXL0vB6dOIqbGJ7ooNykzBiLgy4xhWAyC8zyTTRQ== X-Received: by 2002:a05:6a00:1256:b0:730:8526:5db2 with SMTP id d2e1a72fcca58-73261914657mr366739b3a.5.1739562983856; Fri, 14 Feb 2025 11:56:23 -0800 (PST) Received: from localhost.lp.veng.com.ar ([200.10.125.114]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73249fe96b4sm2670530b3a.75.2025.02.14.11.56.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Feb 2025 11:56:23 -0800 (PST) From: Gaston Gonzalez To: linux-staging@lists.linux.dev Cc: dpenkler@gmail.com, gregkh@linuxfoundation.org, arnd@arndb.de, dan.carpenter@linaro.org, ajithpv.linux@gmail.com, roheetchavan@gmail.com, niharchaithanya@gmail.com, eleanor15x@gmail.com, everestkc@everestkc.com.np, kees@ijzerbout.nl, skhan@linuxfoundation.org, linux-kernel@vger.kernel.org, gascoar@gmail.com Subject: [PATCH v2 3/5] staging: gpib: ni_usb: remove unused variable Date: Fri, 14 Feb 2025 16:54:44 -0300 Message-ID: <20250214195456.104075-7-gascoar@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250214195456.104075-1-gascoar@gmail.com> References: <20250214195456.104075-1-gascoar@gmail.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="utf-8" Content-Transfer-Encoding: quoted-printable Remove unused variable 'adr1_bits' in function 'parse_board_ibrd_readback' Since the value of the variable 'i' is increased when 'adr1_bits' is set, t= he 'i++' post-increment was added in order to keep the value of 'i' right. This change removes the following warning: warning: variable =E2=80=98adr1_bits=E2=80=99 set but not used [-Wunused-bu= t-set-variable] Signed-off-by: Gaston Gonzalez Reviewed-by: Dan Carpenter --- v2: added post-increment 'i++'. drivers/staging/gpib/ni_usb/ni_usb_gpib.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/gpib/ni_usb/ni_usb_gpib.c b/drivers/staging/gp= ib/ni_usb/ni_usb_gpib.c index d0656dc520f5..41d9cccdaf10 100644 --- a/drivers/staging/gpib/ni_usb/ni_usb_gpib.c +++ b/drivers/staging/gpib/ni_usb/ni_usb_gpib.c @@ -427,7 +427,6 @@ static int parse_board_ibrd_readback(const u8 *raw_data= , struct ni_usb_status_bl int i =3D 0; int j =3D 0; int k; - unsigned int adr1_bits; int num_data_blocks =3D 0; struct ni_usb_status_block register_write_status; int unexpected =3D 0; @@ -460,7 +459,7 @@ static int parse_board_ibrd_readback(const u8 *raw_data= , struct ni_usb_status_bl pr_err("%s: bug: status->id=3D%i, !=3D ibrd_status_id\n", __func__, stat= us->id); return -EIO; } - adr1_bits =3D raw_data[i++]; + i++; if (num_data_blocks) { *actual_bytes_read =3D (num_data_blocks - 1) * data_block_length + raw_d= ata[i++]; } else { --=20 2.48.1 From nobody Fri Dec 19 16:45:03 2025 Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) (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 9D07B1C84C0 for ; Fri, 14 Feb 2025 19:56:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739563002; cv=none; b=DfT21kqHGTJ/QbzDlDLiA5KlaVlD3rfVBLnMcP6tgBMpQBsdLsQA1nDfbYw78TpHcbyXS4LzrsSOzFE8HyDsIa1FYuMT6wvsc12JFHgSA748P8FIJg25sLrzYGEGL1lI1obJM1clh/tj85bDI0nK2TxXUtL+lgrw0ZXkirFajEo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739563002; c=relaxed/simple; bh=echjav+toUtLY8bX7ph9CHbII8dhqhEq8q/MKj+NGVw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=TcOPZNKH2uhRa+DNX7VNz6bp72Ev3BK3ZbwaZLJ/hrsMRJ7rB2Y5kfTTWozcV9LpFIBbwvIMPaQblV4Tt5eAdzXGz9NH8+eCk+vc2QmXaaqDNamXJdP4/M+lnQEarLGTjlBrEHy+dU7GvEGg+V0CWb4ReI6LLLaMPGQM892H53g= 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=aEsA8c0y; arc=none smtp.client-ip=209.85.216.45 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="aEsA8c0y" Received: by mail-pj1-f45.google.com with SMTP id 98e67ed59e1d1-2f9b8ef4261so534017a91.1 for ; Fri, 14 Feb 2025 11:56:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739563000; x=1740167800; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8wx473TxCM555Yxh01S9xtHDPkAuBmTyv1sHlXyhK+8=; b=aEsA8c0ypjOWns1rVoB2FrWShpiL8CXBbWCpKD0bbr6VCrk887cz+QdtqKImy32um9 gvc/i3nPMN2/XWAvTzOkzSl/eoMwmSd0Hi1Bh5xClawzshX59TONZMKE9fdNvzRIXVc9 Q4yi6v+5U+gQGlxAfwXPXmNylVT4Snll2rm5owRzaUGhKdS4MnROXC47OMSds9xgvoAl cJ3MJja26WsTm1ANTl89dLQqNVKZVfWmhPjZajo0CEBWeIAkO36kasQVr9rKTDfvWeLM dfopgJqmxO4/k1RAPHk4/FlRk1+OP8P0fffpv3ACdvjnqG4IX1wDoBuC56YN8V10Kzvn K/4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739563000; x=1740167800; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8wx473TxCM555Yxh01S9xtHDPkAuBmTyv1sHlXyhK+8=; b=t0V4e+HivEPCczFcvkaVg0pAVfYlX8gyfX+x2NOshP4YxB1727/5SRfMNiOoE5ZmAZ Y9CftszbLMt2Zso7ppjd0fhMPZGWgmhaDq+SskflCQuanc5jQaDkcSsvjYgOEyoHR0rz CyvmDIGnGgIHsgIxqtwJF2X0fVgtTnVznOeVegdiI9JNXNGsuJ/1XcYUad+LDetcM9zT NF1Or6p0rjMEpXZAgZuMdoZzrY6GGwKvBSG0JqCpgDaA0BEvHO5RHEQ5EetELkl4L4Ql JYqVpb8evvY1T9ZIF00r0nnWAe6s+DtkInrYsRFCLsa8VEfpG9utZ4AZAthAxX3QccjF k4bQ== X-Forwarded-Encrypted: i=1; AJvYcCVKWTVHGeWuhqBHu6H0PiX2eRBAbFbFpo5YUv5PtMshLs714TYggue/zGHi371W15murqHyz+EFf+a+tFw=@vger.kernel.org X-Gm-Message-State: AOJu0Yy6Na+ZPYqOX9p3jyr4aWS7/4ZdDMwFQ0iN6OoyZe04tX228DG+ fkqoRkgu9Jeu/X9QJdQe0yQhiYb/cS5AAuqvK0Vp1Vmm35eAyD/N X-Gm-Gg: ASbGncthu92K/cdsiDXuWJ2v5YTzEoyeK2BPni3EogSnI8bHS0AIzL+JLFMhyj1juWV 7QHopgx2muoI455YJleCaZbZiKkgnune4lrEuTg4k1SdGAs72KI75VKYy7dRfnqk70LJFz/U5Vu AAAIi1gg/6iyd8zC8wVMWDOKkYdE29WbF4OnmaZ/Iu4de6REbh+jdG1xYWPZyPuej/anCJRghXp RlwQL1iGh23yCsZdGBsr/8H2EVaL2Q2EHWvcB6CMRbf1guMfJKEtG610+Y5AMgXv/KwA23lVwQ6 U2qpzls5MxO2V+OoXb4qjc239gLFrVk= X-Google-Smtp-Source: AGHT+IH8byrqt7eq9hY+C/QRNXxcZ9q+AeahMXsTlX/kzcus3VCl/XbmWsIev1W1My1h0CgwErORZQ== X-Received: by 2002:a05:6a00:ccc:b0:730:96fa:bdb5 with SMTP id d2e1a72fcca58-732619416acmr391931b3a.6.1739563000043; Fri, 14 Feb 2025 11:56:40 -0800 (PST) Received: from localhost.lp.veng.com.ar ([200.10.125.114]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73249fe96b4sm2670530b3a.75.2025.02.14.11.56.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Feb 2025 11:56:39 -0800 (PST) From: Gaston Gonzalez To: linux-staging@lists.linux.dev Cc: dpenkler@gmail.com, gregkh@linuxfoundation.org, arnd@arndb.de, dan.carpenter@linaro.org, ajithpv.linux@gmail.com, roheetchavan@gmail.com, niharchaithanya@gmail.com, eleanor15x@gmail.com, everestkc@everestkc.com.np, kees@ijzerbout.nl, skhan@linuxfoundation.org, linux-kernel@vger.kernel.org, gascoar@gmail.com Subject: [PATCH v2 4/5] staging: gpib: tnt4882: remove unused variable Date: Fri, 14 Feb 2025 16:54:46 -0300 Message-ID: <20250214195456.104075-9-gascoar@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250214195456.104075-1-gascoar@gmail.com> References: <20250214195456.104075-1-gascoar@gmail.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="utf-8" Content-Transfer-Encoding: quoted-printable Remove unused variable 'retval' in function 'tnt4882_update_status'. A call to nec7210_update_status_nolock() is added as the status bits are wr= itten to board->status in that function. This change removes the following warning: warning: variable =E2=80=98retval=E2=80=99 set but not used [-Wunused-but-s= et-variable] Signed-off-by: Gaston Gonzalez Reviewed-by: Dan Carpenter --- v2: add call to nec7210_update_status_nolock() function. drivers/staging/gpib/tnt4882/tnt4882_gpib.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/gpib/tnt4882/tnt4882_gpib.c b/drivers/staging/= gpib/tnt4882/tnt4882_gpib.c index 2e1c3cbebaca..19f6d798f09c 100644 --- a/drivers/staging/gpib/tnt4882/tnt4882_gpib.c +++ b/drivers/staging/gpib/tnt4882/tnt4882_gpib.c @@ -704,12 +704,11 @@ static unsigned int tnt4882_update_status(gpib_board_= t *board, unsigned int clea { unsigned long flags; u8 line_status; - unsigned int retval; struct tnt4882_priv *priv =3D board->private_data; =20 spin_lock_irqsave(&board->spinlock, flags); board->status &=3D ~clear_mask; - retval =3D nec7210_update_status_nolock(board, &priv->nec7210_priv); + nec7210_update_status_nolock(board, &priv->nec7210_priv); /* set / clear SRQ state since it is not cleared by interrupt */ line_status =3D tnt_readb(priv, BSR); if (line_status & BCSR_SRQ_BIT) --=20 2.48.1 From nobody Fri Dec 19 16:45:03 2025 Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) (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 C25E11C84C0 for ; Fri, 14 Feb 2025 19:56:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739563011; cv=none; b=Agl5EqH8Mk4f39szMnLG0LFbXdRJfDNSVRGWCBuhD4UhgODjVb10R+WU7OMVMjKKxkxDRKx4v9ofw6bFKexsfkIN7pAUHsqGyW0dXh8KtgXWjbN4Gm5hMkQRw4tZ0n70o/+H8xXFfMI1NveocqbLQZ0qSC+/MLoXZgvlRucg4Hg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739563011; c=relaxed/simple; bh=YBwPeQCDJxOHmq/Co+incHBL3UWPQ6vi3ncG/nUGZ8Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=qwHGQUKPmAyYkTjS18YuCU36QrhWN07w6DNHE+YscBklL+JyDmNqRrL4EMCbaEpMm2PvRfZxyt0d+UpOxNM9uk+kqc+7Sl/SoLCr0eZtlrFtufvoF5EmHOnfotq1+82gyBLghFCOyiwWUYdEh6l72qWw/hSzph89z1rN1f/OODs= 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=OAmhUAIa; arc=none smtp.client-ip=209.85.216.45 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="OAmhUAIa" Received: by mail-pj1-f45.google.com with SMTP id 98e67ed59e1d1-2fc0ab102e2so532039a91.1 for ; Fri, 14 Feb 2025 11:56:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739563009; x=1740167809; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=iZe63HKM8wngZcB9fftBtwVVvlWOpcDUXEwsaiq1API=; b=OAmhUAIa+FC9BIkZhoIBligo50PCQbq9YfjLkvd2ofouUh8g4IkZFndJ+LONkcG4TD CIUuRrLrBnX6PHXISlwg/UmfqJJPb6N3RmV/y0w3AAr745r7V/kClCEGyqZhCqyi7Xoa TaJ4OFnyHhdaySa5PY0weQRc8qcqDTPuGXs/4U93LEsdvmCFbfC/wVLbEJqVLGcoO6w6 QSIogXSSVt5G5VcC6li++Gu7ucDK2wrdHG+plXXf4E9AhUs1eymJzLbTfwh988dbdCvB cBujqoEqV3EYLLTRllQDlUYf76vvjNshJaKgD9PLnJN6AhvX62vWyBsBquErsxpfG5sY md7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739563009; x=1740167809; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iZe63HKM8wngZcB9fftBtwVVvlWOpcDUXEwsaiq1API=; b=JjdkEsCQfYQD3B0PvHz1rdoNPnyCN0b/h4Na5RtrMf/FCapV5dXSoAiOUi2EU/E6qs +fCphFyzif/D/mt4+8AaksZY2735ckYBkq328dzIY9OptnNoSf5Ksx+Z/v9g0z0WE9ft fJtwYPZ6KyUtN4Xr0F6OOQUrKRl1hC9Kb3EMSeoEqDUJhYOY/0CZrqqAGeu1ViIeMC67 8bF2vQB2wbAlfHQo8nmCQIDUVI0XV2B3OnRJcUw3PO3rKhVrMB4clM1YIpe6e9vAeCMD aUE3xVlc2ZbOXfbY6M+KNl00LpAaN+5+TD1PQyN2HXlpzF35Eu0DOb66VWyQcmIiGvA6 ZN4w== X-Forwarded-Encrypted: i=1; AJvYcCWZedmSiH8Tf/6hnMDEy+GHjgqvYDhwvGMEbTWL60Uwcsq3zYgzM2gB8MEd+BpVsacpEurVfBiswbApNAc=@vger.kernel.org X-Gm-Message-State: AOJu0Yy1+js0g7f7jG4EoBDlk5MZ7fYpg1F19OtWHwdxL/WgN4c/Kk+9 JxejKEYWPiS+Dlnnk9cfQ9iGQQBTeZEy6HZIs+3ZNiDNhfzopcJj X-Gm-Gg: ASbGncsNBd5rukM6MHgTaPOpF5efEhNXM79Yu4LCD+ft7JVjGwAl45TVHFWWNxOYv6q fInUFZn9ByqdSRlszTaEtlDZ50UNKBQwQMGJudeD9pe3FvHqvrLpELsuLYGCm8KYLV/vLwukKAV 3SIlSmFdYeg6Uq7UPRPlODgjoQOHZ8d39j0DDaDxObkXsonjGmQnTlZaa06JGRP6UdpaDcYzjOA i8jfVXSvy9QNFVLlR0iHubZBrfAt9xlQvmKm9gMbBhJdHKH0qJbC+sjWN7KyQZHpdajRAOWXcDf z7N5p6qrAj1J7Bx3r9PNB3XK2nqPLr4= X-Google-Smtp-Source: AGHT+IG+/GJB7UKuBoebjGFibYJBhi5i0M3ekF7jrMwSS7Pg5F3IV+gTj1kHaiZigFpU3lR6DmIt7w== X-Received: by 2002:a05:6a00:3e0c:b0:72a:a7a4:99ca with SMTP id d2e1a72fcca58-73261778caamr439948b3a.2.1739563009122; Fri, 14 Feb 2025 11:56:49 -0800 (PST) Received: from localhost.lp.veng.com.ar ([200.10.125.114]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73249fe96b4sm2670530b3a.75.2025.02.14.11.56.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Feb 2025 11:56:48 -0800 (PST) From: Gaston Gonzalez To: linux-staging@lists.linux.dev Cc: dpenkler@gmail.com, gregkh@linuxfoundation.org, arnd@arndb.de, dan.carpenter@linaro.org, ajithpv.linux@gmail.com, roheetchavan@gmail.com, niharchaithanya@gmail.com, eleanor15x@gmail.com, everestkc@everestkc.com.np, kees@ijzerbout.nl, skhan@linuxfoundation.org, linux-kernel@vger.kernel.org, gascoar@gmail.com Subject: [PATCH v2 5/5] staging: gpib: ines: remove unused variable Date: Fri, 14 Feb 2025 16:54:48 -0300 Message-ID: <20250214195456.104075-11-gascoar@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250214195456.104075-1-gascoar@gmail.com> References: <20250214195456.104075-1-gascoar@gmail.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="utf-8" Content-Transfer-Encoding: quoted-printable Remove unused variable 'nec_priv' in function 'ines_line_status'. This change removes the following warning: warning: variable =E2=80=98nec_priv=E2=80=99 set but not used [-Wunused-but= -set-variable] Signed-off-by: Gaston Gonzalez Reviewed-by: Dan Carpenter --- v2: no changes in this patch. drivers/staging/gpib/ines/ines_gpib.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/gpib/ines/ines_gpib.c b/drivers/staging/gpib/i= nes/ines_gpib.c index 22a05a287bce..ba07dfb0697a 100644 --- a/drivers/staging/gpib/ines/ines_gpib.c +++ b/drivers/staging/gpib/ines/ines_gpib.c @@ -26,10 +26,8 @@ int ines_line_status(const gpib_board_t *board) int status =3D ValidALL; int bcm_bits; struct ines_priv *ines_priv; - struct nec7210_priv *nec_priv; =20 ines_priv =3D board->private_data; - nec_priv =3D &ines_priv->nec7210_priv; =20 bcm_bits =3D ines_inb(ines_priv, BUS_CONTROL_MONITOR); =20 --=20 2.48.1