Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp489702lqd; Wed, 24 Apr 2024 08:16:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUJzkTgRXtMEwiGEzs6Jx27M27SdoT577Y1CI58zIXBS2zNReIyIdakS1eA5UzFSF/EGFsC6YE0oJK5rEwOl9SadKRUex3z+QojGja89g== X-Google-Smtp-Source: AGHT+IGLU+HDJpM6Gqy6iOWEcLfegYArUmRdJwKL8bgJJxMTXGo5r/42btfF5LfUt6voeV69ufMD X-Received: by 2002:a05:6a20:978a:b0:1aa:5a89:18e9 with SMTP id hx10-20020a056a20978a00b001aa5a8918e9mr3402300pzc.15.1713971804922; Wed, 24 Apr 2024 08:16:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713971804; cv=pass; d=google.com; s=arc-20160816; b=F+Eb/8tUI64d9u2bujb056u2xFA/LdXKgGhPUCxN3n+KT+TJpTwQ0VsIGwIZEbFHRx 9gJQ4KAzeJAidcRNZ1Bw7Tya2kpcNAKFjz8m5Tqbyf2KnZ75u09nBe37m4tG2UXkchZB QBW22T6G2szdv5hdlUOzSo2uxteio6n1fRZtTov1FRhpQyOKL1+QG5QrDgQzEj/RcPNC h8Vma5dtcDtR6OFk00VUuH5MSoeSkvEctDpDn/Qc84TD2D479pbDFEBv+D7cMWHOCssR zcqkmnAnH8M8QLc7eNj4xldrOR+N3s2gijslT2SLC5OnWQdTKKNdLzws8Su0W8I8QlmO Ihnw== 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=52xXeYcoGXz0lSYfxzazhbEEwDc4t9B8gSUrHzsiJZY=; fh=t713hiZ717LxddnL2ANTGd7+3StzpzxQvORfVMn5cLY=; b=DcEq0bQTkTcMAbFufj93uyBXw4NSaO8EDN7mRnosLB4RdUIcmqJc0HncreRHxFSxGa +btWlk2lCXMjpx4q6COl3t0vip6JauMACa470oMug9T8wIkMsd0P8Sdg8uoYmFX0pNQT xHCU/DmszajSp9Er2PeczCQEdcZkHUhhDMXMV4r2ErrOebeSUcDuKG5hU+EAVaQy2QQw x6sPHgmHeJ7xdBN0IAussEDtF7YwU/3Olb5KbGfKrAk5jn8Bud9ndD/krDbTXSJunlKd yiXN1xHzoWFeFthaF5nfh+cD6BVZCrqWSFhBrf6inM9y3Yab8g3VHdDxNQDV3HY1qn23 ay2g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=ojYUiW+j; arc=pass (i=1 spf=pass spfdomain=wanadoo.fr dkim=pass dkdomain=wanadoo.fr dmarc=pass fromdomain=wanadoo.fr); spf=pass (google.com: domain of linux-kernel+bounces-157168-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157168-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=wanadoo.fr Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id fi30-20020a056a00399e00b006ea9ca4970esi11694809pfb.343.2024.04.24.08.16.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 08:16:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-157168-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=@wanadoo.fr header.s=t20230301 header.b=ojYUiW+j; arc=pass (i=1 spf=pass spfdomain=wanadoo.fr dkim=pass dkdomain=wanadoo.fr dmarc=pass fromdomain=wanadoo.fr); spf=pass (google.com: domain of linux-kernel+bounces-157168-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157168-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=wanadoo.fr 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 26DAB2847F9 for ; Wed, 24 Apr 2024 15:11:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1FBB715F41C; Wed, 24 Apr 2024 15:10:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b="ojYUiW+j" Received: from smtp.smtpout.orange.fr (smtp-20.smtpout.orange.fr [80.12.242.20]) (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 A196715ECFA; Wed, 24 Apr 2024 15:10:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.12.242.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713971445; cv=none; b=hMohp8le6FvV7CcLNwSIBy64qcGtE1U0MaNWwH7gvHnMu0ZGAc94mP82AF2B0Q6MjIXyHMPKJPdr7kuOWwtK9TBvP9y7Ps8n3uAXY45DnbfkrWQdvDKdtVgDLk/ApWajEA7YLcKfj4qhLkyCxh4Dc0m+a2JW9TvK4phO5N8sPM0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713971445; c=relaxed/simple; bh=GFl2gu8Goy0sQALB4lF37DA+Kra9rUwAZesJFurH4rs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GfQ9efHDCjULwkptqB7+zUc+YCA3L2oXNfVWGAKa1EtIvlasNzmj941CxT2u17TA6aNbzmxUanQPE5PUSsc13LkBFrjKfF/1UganpatyTryTyT414g4L1nIhNMr7j6Z5D3WqdeodzXdemX31B8oeJ9N4F+r0SdZI9hYmTeN2uRY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr; spf=pass smtp.mailfrom=wanadoo.fr; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b=ojYUiW+j; arc=none smtp.client-ip=80.12.242.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wanadoo.fr Received: from fedora.home ([86.243.17.157]) by smtp.orange.fr with ESMTPA id zeGYrqtWgiGtUzeGYr9Zdc; Wed, 24 Apr 2024 17:10:35 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1713971435; bh=52xXeYcoGXz0lSYfxzazhbEEwDc4t9B8gSUrHzsiJZY=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=ojYUiW+jkhTC2+vHxP5BROWhlLUgGzgMGXDqSHxECTHdhp9qv0QpvOnKeH/WJqM4U JrH2nDSMqjfAuk7z+iJWsbs9HMg9WJbeIYVU0V0gNt6G28+GJEyO8/pCJO6+f5tMEs lIOTu4n+By+gmnLool45OGoCGMksgA6t8NVhxTkTIYBrFSq3Smt3K02kTxlc9ADJLc 1AzXM7cIqHxiTmzQS2pSpAgLLsu1YoEyRGrGSv9xLq5HvGNoTrDpyZp+dU3eKbQXEe jhnv6iqZdQfNWCwzkZ/N2ycq5oyLKzG3JdhHvMs2os4b03GePA1JC7JE1vSJsfv+ag EDwtPNlpG6u5A== X-ME-Helo: fedora.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Wed, 24 Apr 2024 17:10:35 +0200 X-ME-IP: 86.243.17.157 From: Christophe JAILLET To: Lee Jones Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , linux-arm-msm@vger.kernel.org Subject: [PATCH] mfd: ssbi: Remove an unused field in struct ssbi Date: Wed, 24 Apr 2024 17:10:29 +0200 Message-ID: <8a76de25cefb533d94dfe35062bbd9a8e72f4bb9.1713971415.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In "struct ssbi", the 'slave' field is unused. Remove it. Found with cppcheck, unusedStructMember. Signed-off-by: Christophe JAILLET --- Compile tested only. This is a left-over from commit 97f00f7120fe ("SSBI: Convert SSBI to device tree") --- drivers/mfd/ssbi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mfd/ssbi.c b/drivers/mfd/ssbi.c index b0b0be483dbf..f849f2d34ec7 100644 --- a/drivers/mfd/ssbi.c +++ b/drivers/mfd/ssbi.c @@ -64,7 +64,6 @@ enum ssbi_controller_type { }; struct ssbi { - struct device *slave; void __iomem *base; spinlock_t lock; enum ssbi_controller_type controller_type; -- 2.44.0