Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp376563ybg; Tue, 28 Jul 2020 08:14:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweoMDbtSQhOWs+yB2MeXNmrwV6fZm4e4jV0guLEkS5z664Z2zngFsKZdBje931KN9N+TyT X-Received: by 2002:a05:6402:204e:: with SMTP id bc14mr27093435edb.128.1595949257878; Tue, 28 Jul 2020 08:14:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595949257; cv=none; d=google.com; s=arc-20160816; b=oYNaoo8vW79AyvDPS5tzrp+DVseTvZbUTPiIE3KZafVv79sEzL//OIfs42+m3x2Qjh RKbnEIj4GLe3oBOnUsG1kpNXNcDLZYX3+bTp6aADKnus4y7ouVD7l04qQa/n1w+H9tbe f+/mHdk65rZgXoY+GSS6JoyUOelFLorT9SEoQeqrc1dBvEYHpMnNq/2oXMvyJY2Hnc6t 9ClSEPOP/lZ/zMZAscuaklo5J2R9rJhGQ3tUVPbmTdV9ROemj7tUAv8EUvlBBelE20BP GKzoJJC9jLxweZGGkZ7oaJJnieRWx2COocIuZyvwkQLit8TsuGaE5zntq3q35kRVB+/u twbA== 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=Y4C6kJxgm5TBz1yf5mhnYEeohqRErvGcIOy3qqF9KZw=; b=K5sUBAw77FRZn0huMvldNeH3HbGteCiYsoJaOFp9gxZsBjHP+TtP6rcyv0amJkYKUx 1iZ6yqo/b9fImy5v06exvS2Zg0peXzP1pkjD/R7WpP23rYTlqAoaf9ysNjb8V4neGBEh 8ZKe2wolg6Nk9+SpKGRcepDB79moeO7d3lJ3tY9sj18wSCugbLt/ayZ85PKXHf0vPmxZ v73S2+dOXKCRTDZwGKnMu4Xmnz1HnCqCpI2acwD6pciE8y0ryF+21uNeGz1gRhk5ZS7K JBNy5kE33sj84bT/Q7Leg6R6RPIXWtbdGrS9pYv5W5Vzqv9jJF8F/R3xyOvdu5e4Q7ZZ frbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=G8Xb29dO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p26si639938ejf.232.2020.07.28.08.13.55; Tue, 28 Jul 2020 08:14:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=G8Xb29dO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730788AbgG1PN3 (ORCPT + 99 others); Tue, 28 Jul 2020 11:13:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730780AbgG1PN0 (ORCPT ); Tue, 28 Jul 2020 11:13:26 -0400 Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D2E6C0619D5 for ; Tue, 28 Jul 2020 08:13:26 -0700 (PDT) Received: by mail-io1-xd42.google.com with SMTP id a5so5866568ioa.13 for ; Tue, 28 Jul 2020 08:13:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Y4C6kJxgm5TBz1yf5mhnYEeohqRErvGcIOy3qqF9KZw=; b=G8Xb29dOpciFEH1QxLsaCP0CK3QhkLCqoNwroDxUt1QwT67vhhcnxP2xOcNKh2k6f9 D4I1UJ+Y7gfLEA7S8wXT7BCy6GrCZIMnE9yHzCmpkOH78+K7vy+Z5IzNpGYi+WZCrZP2 QgbUZcUFNsbSbI+PXxBnJYunr0HV/PoG0q+fg= 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=Y4C6kJxgm5TBz1yf5mhnYEeohqRErvGcIOy3qqF9KZw=; b=b8gf3GxVRdfSr40vDSoSkcRFxqN8M8DSOIsusuq33elGeN/nHCjikkPdOmVek0xkvU Blri71j8KWdHvP+gcudiExZRyLcEMhXr+SVrYvye+H5JeD1rlM9OPNfi6CykzvRwERub GSLfdasAP469hxkK4hP5IL2G5eP+QtA182dTDSZWVJl96Tvfgy+SlZkEcAByhhcIaoqQ r+xSlvrK79rAXt/bf+7v92tfbBxtPmhLoNhjg5u+8oBeHITn/jh+gTzmNXbSx/0qXDt8 LYIVTCaUOpenKrUGjwjArhRQriSRmRAaDr5gS9w6VpJW4n0cRSwU354iKD8YTwq2MG+T Md+A== X-Gm-Message-State: AOAM532UheSAbsp3cQ2pproLaJWN+V8hgSRCLKZZ+J9FwWI9LStd8Rj/ /kj0YCEB44wetWqwkmR/yWrwnw== X-Received: by 2002:a02:5883:: with SMTP id f125mr994489jab.50.1595949206066; Tue, 28 Jul 2020 08:13:26 -0700 (PDT) Received: from derch.Home (97-122-92-59.hlrn.qwest.net. [97.122.92.59]) by smtp.gmail.com with ESMTPSA id q70sm6399781ili.49.2020.07.28.08.13.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jul 2020 08:13:25 -0700 (PDT) From: Daniel Campello To: LKML , LKML Cc: Jonathan Cameron , Stephen Boyd , Douglas Anderson , Daniel Campello , Enrico Granata , Gwendal Grignou , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , linux-iio@vger.kernel.org Subject: [PATCH 14/15] iio: sx9310: Drop channel_users[] Date: Tue, 28 Jul 2020 09:12:57 -0600 Message-Id: <20200728091057.14.I687e37031ecdd9e21078adf8d290c48b6d9d9a1e@changeid> X-Mailer: git-send-email 2.28.0.rc0.142.g3c755180ce-goog In-Reply-To: <20200728151258.1222876-1-campello@chromium.org> References: <20200724183954.1.I2e29ae25368ba8a72a9e44121cfbc36ead8ecc6b@changeid> <20200728151258.1222876-1-campello@chromium.org> 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 From: Stephen Boyd This struct member isn't used. Drop it. Fixes: 72ad02b15d63 ("iio: Add SEMTECH SX9310/9311 sensor driver") Signed-off-by: Stephen Boyd Reviewed-by: Douglas Anderson Reviewed-by: Daniel Campello Signed-off-by: Daniel Campello --- drivers/iio/proximity/sx9310.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/iio/proximity/sx9310.c b/drivers/iio/proximity/sx9310.c index 4553ee83a016a3..202018b726e32f 100644 --- a/drivers/iio/proximity/sx9310.c +++ b/drivers/iio/proximity/sx9310.c @@ -131,7 +131,6 @@ struct sx9310_data { struct completion completion; unsigned long chan_read; unsigned long chan_event; - int channel_users[SX9310_NUM_CHANNELS]; unsigned int whoami; }; -- 2.28.0.rc0.142.g3c755180ce-goog