Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764698Ab3DDXGX (ORCPT ); Thu, 4 Apr 2013 19:06:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:31158 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1764464Ab3DDXGW (ORCPT ); Thu, 4 Apr 2013 19:06:22 -0400 From: Nikola Pajkovsky To: Jiri Slaby Cc: jirislaby@gmail.com, linux-kernel@vger.kernel.org, Jiri Kosina , linux-input@vger.kernel.org Subject: Re: [PATCH 5/5] HID: hid-lenovo-tpkbd, remove doubled hid_get_drvdata References: <1365107532-32721-1-git-send-email-jslaby@suse.cz> <1365107532-32721-5-git-send-email-jslaby@suse.cz> Date: Fri, 05 Apr 2013 01:05:35 +0200 In-Reply-To: <1365107532-32721-5-git-send-email-jslaby@suse.cz> (Jiri Slaby's message of "Thu, 4 Apr 2013 22:32:12 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 662 Lines: 22 Jiri Slaby writes: > In pointer_press_speed_show, we do > data_pointer = hid_get_drvdata(hdev); > twice in a row. Remove one of those. > > Signed-off-by: Jiri Slaby > Cc: Jiri Kosina > Cc: linux-input@vger.kernel.org > --- > drivers/hid/hid-lenovo-tpkbd.c | 2 -- > 1 file changed, 2 deletions(-) Acked-by: Nikola Pajkovsky -- Nikola -- 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/