From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F31DDC2D0E7 for ; Sun, 29 Mar 2020 09:40:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C932220732 for ; Sun, 29 Mar 2020 09:40:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585474807; bh=fZx8d3Yegoa/gkblvUC3Z2gOoaGWoaO7VSLCX/1FrKA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=FLm8LAAXIP+TqE5O/QCYYJZovpQXfYE3srujOtOmeZxGiU7lF4uHSRVUFctejqsOV WBDnE79/hyE9oy4jtAaLZtuUOuoyGLzzdy9E1ypALWtQqucmeFPFp6nOSJ42BSS93C oXjUh6EO3/Ym7Yelm+IPBbh2KVEfk6/Ht1GhA+Ts= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727947AbgC2JkG (ORCPT ); Sun, 29 Mar 2020 05:40:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:49228 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727286AbgC2JkF (ORCPT ); Sun, 29 Mar 2020 05:40:05 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6D288206DB; Sun, 29 Mar 2020 09:40:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585474805; bh=fZx8d3Yegoa/gkblvUC3Z2gOoaGWoaO7VSLCX/1FrKA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=wScFJMRoh4MtVrQgJFhJS2DiUS5pFlWgRZQjApYdkCP0vn8zKlIFBRxb+iyXUr1vU Zq0Kz/mNSfCmgCW24V/ERC+OUdMT/5ERzhdJdg7ZiJUHV41l81Km0VTzafKJj2tV/M Ln77THD0s8mJceG1YXQoCPNEVc8t5Dsr/qJ8iODs= Date: Sun, 29 Mar 2020 10:40:01 +0100 From: Jonathan Cameron To: Alexandru Ardelean Cc: , , Subject: Re: [PATCH] iio: buffer: drop left-over 'stufftoread' field Message-ID: <20200329104001.6b62b4ab@archlinux> In-Reply-To: <20200328163421.69784-1-alexandru.ardelean@analog.com> References: <20200328163421.69784-1-alexandru.ardelean@analog.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 28 Mar 2020 18:34:21 +0200 Alexandru Ardelean wrote: > This seems like a left-over from a7348347ba8a4 ("staging:iio: Add polling > of events on the ring access chrdev."). > > Then it was moved into the sca3000 driver around 9dd4694dafbd8 ("iio: > staging: sca3000: hide stufftoread logic"), and that one seemed to be the > only user of this. > > Then it eventually was no longer used after 152a6a884ae1 > ("staging:iio:accel:sca3000 move to hybrid hard / soft buffer design.") > > Signed-off-by: Alexandru Ardelean Oops. Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Thanks, Jonathan > --- > include/linux/iio/buffer_impl.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/include/linux/iio/buffer_impl.h b/include/linux/iio/buffer_impl.h > index a4d2d8061ef6..1e7edf6bed96 100644 > --- a/include/linux/iio/buffer_impl.h > +++ b/include/linux/iio/buffer_impl.h > @@ -115,9 +115,6 @@ struct iio_buffer { > */ > struct attribute_group scan_el_group; > > - /* @stufftoread: Flag to indicate new data. */ > - bool stufftoread; > - > /* @attrs: Standard attributes of the buffer. */ > const struct attribute **attrs; >