Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752154AbaBMXBx (ORCPT ); Thu, 13 Feb 2014 18:01:53 -0500 Received: from us-mx2.synaptics.com ([192.147.44.131]:35399 "EHLO us-mx2.synaptics.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751185AbaBMXBv (ORCPT ); Thu, 13 Feb 2014 18:01:51 -0500 X-PGP-Universal: processed; by securemail.synaptics.com on Thu, 13 Feb 2014 14:49:12 -0800 Message-ID: <52FD4EDE.20208@synaptics.com> Date: Thu, 13 Feb 2014 15:01:50 -0800 From: Christopher Heiny Organization: Synaptics, Inc User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Dmitry Torokhov CC: Andrew Duggan , Vincent Huang , Vivian Ly , Daniel Rosenberg , Linus Walleij , Benjamin Tissoires , Courtney Cavin , Linux Input , Linux Kernel Subject: Re: [PATCH 05/11] Input: synaptics-rmi4 - remove control_mutex from f01_data References: <1392269277-16391-1-git-send-email-dmitry.torokhov@gmail.com> <1392269277-16391-5-git-send-email-dmitry.torokhov@gmail.com> In-Reply-To: <1392269277-16391-5-git-send-email-dmitry.torokhov@gmail.com> X-Originating-IP: [10.3.20.103] X-Brightmail-Tracker: AAAAAQAAAWE= Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: > It is not used by anyone. > > Signed-off-by: Dmitry Torokhov Acked-by: Christopher Heiny > --- > drivers/input/rmi4/rmi_f01.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/input/rmi4/rmi_f01.c b/drivers/input/rmi4/rmi_f01.c > index 30e0b50..6f90a6c 100644 > --- a/drivers/input/rmi4/rmi_f01.c > +++ b/drivers/input/rmi4/rmi_f01.c > @@ -125,7 +125,6 @@ struct f01_data { > struct f01_basic_properties properties; > > struct f01_device_control device_control; > - struct mutex control_mutex; > > u8 device_status; > > @@ -214,8 +213,6 @@ static int rmi_f01_initialize(struct rmi_function *fn) > struct f01_data *data = fn->data; > struct rmi_device_platform_data *pdata = to_rmi_platform_data(rmi_dev); > > - mutex_init(&data->control_mutex); > - > /* > * Set the configured bit and (optionally) other important stuff > * in the device control register. > -- Christopher Heiny Senior Staff Firmware Engineer Synaptics Incorporated -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/