Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6070579ybi; Tue, 4 Jun 2019 18:12:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqyBj2GZh5cDhG4PyopEwV/SeBkxD+Bf/L9yi+/42T+dRTUq+CSJs8Zw14Hl71VuAvgS0zz6 X-Received: by 2002:a17:90a:2590:: with SMTP id k16mr41305442pje.11.1559697161348; Tue, 04 Jun 2019 18:12:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559697161; cv=none; d=google.com; s=arc-20160816; b=fDRWuWYsloObRDJ0YjIlS650P+sFMkovMGzDlN38Vw00EC2+KccDy2ubY8Wp5wMwyn 1Uh/rgp44EPS2cd6Gug7T2cgJkbABerT0pFLDBcmp3OqDZ0HGSsCZLgZ03VKzuiXm/RI lMdc8QuzZWTyh1lK7vGX0X/EMLYeQAxBKs1VhjpRMVwUSnhP9Gq1vfb3T5ZRg9bhkxVB NGLzZpfRofLiW4U3X6oDAEkh6zVUfhh/57AF6I+GYT+rPScgW56Ls9k8fY0L/w6eu/aI rSEXxZra0V9FyBWstIGYpawdXFhMuY38q5lVp7npZR4PxdUgmTLNyLe7O18l6oPsamAD MdbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=H1LWHNz2tpvITgQW+m/6Zu/Zck12SIWFRgPr0RVJKmg=; b=XvbvlD7CVws5JSYAreBlp9ZdzB7VOuz+OITZob6GfPJKaUnzvqS/zhWk0CmH5o9yIT WiN+tgRhp/Rx+r1xGl7wuAQneZaM3m7Lmuje2FGjl5za4gYquHPX4LRKyEKEUVuU7if+ tWrIMQZ8lzy28cQyeOO3TqrQFdLUskY01IZ9Y0AUXUzXECI11Eksv28Jfk1FpzCH3N1O WcWxMyC7uz46PZxa5UK7YAiUcxg8+e2jd518XRu6xZ/c6at7/H5xmheaz0rMnDypJZmK 93VqoDMkaVJ1rZNoN45J5v9PIxh/axdWbtHFgqed6/38yECt+OLAxrWBxEqE2wZ8P7A3 KfXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KXFqqmAP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d3si7945395pgv.492.2019.06.04.18.12.07; Tue, 04 Jun 2019 18:12:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KXFqqmAP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726595AbfFEBKJ (ORCPT + 99 others); Tue, 4 Jun 2019 21:10:09 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:36231 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726341AbfFEBKG (ORCPT ); Tue, 4 Jun 2019 21:10:06 -0400 Received: by mail-qt1-f195.google.com with SMTP id u12so16215829qth.3 for ; Tue, 04 Jun 2019 18:10:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=H1LWHNz2tpvITgQW+m/6Zu/Zck12SIWFRgPr0RVJKmg=; b=KXFqqmAPLvU/X75/zlyOX8S9dyGepiu2lkvFHbHdqbqzHd9aeNEWZmvdhd9eezH85f D2k778JJof2eNgIsOTIDrOUGdHymBRe3a7sR+uka9k2qO8ZW42u5h6lj/Z+yzVxgIKYr z+m6tI9BB2egfgPNftTv6CMd6T80GNcK+pjMN+nBwATcYugrrOl403YixUBh68KbNM2u PZiZNROZC7//yaP6JpwM1FbKPr4mhTi440MbVwSOFniBk+UbeEY+POJIxj4VzKQvNvly rEgVnHgcUSlK07mlNMBtZsd4hZ1UFXzUNy6M9umWp5a8kyI8uZzXklfxC4WNL+XWNZMQ ijgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=H1LWHNz2tpvITgQW+m/6Zu/Zck12SIWFRgPr0RVJKmg=; b=AqcMSjBTltrBqD4QHHCrADHspVXa/XVEaStt/7Iv6SFbKVqWma48lB2dhJZUHL5NdT 7ik0betfc2BDnsmNGPdS6mF9TzxV5dEr4JB+VmJ8Du8d/FiTJ76mJi/PUmAmogKAYd+8 Ov3D7zYZXaTJZBl1NI+2z1/cB6+hRDqAQvHuNk+KryBH9zeG6cjHnwiLlqO/VM7BqhX5 oRkAlOm81i5+xKuA3B+pTuXXlp/KKgMVpG08P5SUdddtyFrI0TpAYeafHO/5e9KKuE65 dwGHTOrIi3tBWzL9cgk5YoyvGy5djEd+8tuDOh69SKApuqr93Nc61EvXx9c/Is7euZjh bYNg== X-Gm-Message-State: APjAAAVs+IHaNJq+OuemX4x8S/MAq0VRdSurIY7jZROk4+RKpevtoNKu mC2xOefLeML+d00xab+XKkA= X-Received: by 2002:a0c:b92f:: with SMTP id u47mr28957968qvf.94.1559697005648; Tue, 04 Jun 2019 18:10:05 -0700 (PDT) Received: from arch-01.home (c-73-132-202-198.hsd1.md.comcast.net. [73.132.202.198]) by smtp.gmail.com with ESMTPSA id v41sm7169401qta.78.2019.06.04.18.10.04 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 04 Jun 2019 18:10:05 -0700 (PDT) From: Geordan Neukum To: Greg Kroah-Hartman Cc: Geordan Neukum , Mao Wenan , Jeremy Sowden , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/6] staging: kpc2000: kpc_spi: remove unnecessary struct member phys Date: Wed, 5 Jun 2019 01:09:08 +0000 Message-Id: <5e46b97ce02b84c801bc9e8b521c3cb78c599b91.1559696611.git.gneukum1@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The structure kp_spi_controller_state, defined in the kpc2000_spi driver, contains a member named phys which is never used after initialization. Therefore, it should be removed for simplicity's sake. Signed-off-by: Geordan Neukum --- drivers/staging/kpc2000/kpc2000_spi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/kpc2000/kpc2000_spi.c b/drivers/staging/kpc2000/kpc2000_spi.c index 32d3ec532e26..20c396bcd904 100644 --- a/drivers/staging/kpc2000/kpc2000_spi.c +++ b/drivers/staging/kpc2000/kpc2000_spi.c @@ -110,7 +110,6 @@ struct kp_spi { struct kp_spi_controller_state { void __iomem *base; - unsigned long phys; unsigned char chip_select; int word_len; s64 conf_cache; @@ -270,7 +269,6 @@ kp_spi_setup(struct spi_device *spidev) return -ENOMEM; } cs->base = kpspi->base; - cs->phys = kpspi->phys; cs->chip_select = spidev->chip_select; cs->word_len = spidev->bits_per_word; cs->conf_cache = -1; -- 2.21.0