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=-10.1 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_GIT 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 E2111C00454 for ; Tue, 10 Dec 2019 11:38:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AE55B207FF for ; Tue, 10 Dec 2019 11:38:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575977880; bh=dRQl+KcJF7mL4kd1EROTqjGxaPFQ77zNrBSs9JIZFaE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=d5s7N6196TuY8Vvw+gVYuBw8KXC/SW/FtRB04kq5hPnYyUTDNRA0FehR1fidWSjm5 hgcQdEJvPiO6aInbCQOIEorvj1TPZtr558nf6R5TpMv1/oo1xYOKHeltNOcUopm1uE 29uMT41OWSUtHfjV0srzpRSeS/5OHjwXm4hOQW9s= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727527AbfLJLh6 (ORCPT ); Tue, 10 Dec 2019 06:37:58 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:41080 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727467AbfLJLh4 (ORCPT ); Tue, 10 Dec 2019 06:37:56 -0500 Received: by mail-lj1-f193.google.com with SMTP id h23so19462041ljc.8; Tue, 10 Dec 2019 03:37:55 -0800 (PST) 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=TGONKFKCYbqiEX3DExtl3ks0dQN/C/p6ASZk392VZQ8=; b=G9aBaRVQwJ53U7co8JCrRgSLKFmQwReSdtcxni0HBtBEeDCbPWLH1xhLVbhibxLSyR gjmxDMSZu6uOkFgCIXDhKDF/GqtfLQkU9df5FYSGPMJU10gANLkBfOMhdAf2kJDg5jtL vnf2XGDe2ldxd1qj8eRlZAGzmc2rsh5iHUY0tbjf5zgnMmZLz83XCeQLI1LLGZtonRmz bJ2AGRSFFO57kxUeEUoL5zBxhTBd8TMOEuJVcaA45dOWlFlfg6xzkTWMW5txyFDO8rGt /pDEiQw4li/r8OXdee7rTCOBGmdhW+CIrtJg9VLuRbuEhJ9gZc08KI6DZdmWl5Wr3z5l SHDw== X-Gm-Message-State: APjAAAVowecMeoz773NYCWqs3mrpuBxL8RJFo6JbAWL4yfpVLZVrmemq MR6da7vIzZoyNB2izOnEGKtHxt2I X-Google-Smtp-Source: APXvYqyqaOiuo38RmYodGLQPrNI3fRmPmtb0hrtSlb53u1NW3HrlEbQlCo1FtioTbrMd91nFnwnljA== X-Received: by 2002:a2e:91c1:: with SMTP id u1mr20145358ljg.181.1575977874402; Tue, 10 Dec 2019 03:37:54 -0800 (PST) Received: from xi.terra (c-14b8e655.07-184-6d6c6d4.bbcust.telenor.se. [85.230.184.20]) by smtp.gmail.com with ESMTPSA id z7sm1698158lfa.81.2019.12.10.03.37.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2019 03:37:51 -0800 (PST) Received: from johan by xi.terra with local (Exim 4.92.3) (envelope-from ) id 1iedpu-000149-9v; Tue, 10 Dec 2019 12:37:50 +0100 From: Johan Hovold To: Dmitry Torokhov Cc: linux-input@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 6/7] Input: gtco: drop redundant variable reinit Date: Tue, 10 Dec 2019 12:37:36 +0100 Message-Id: <20191210113737.4016-7-johan@kernel.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191210113737.4016-1-johan@kernel.org> References: <20191210113737.4016-1-johan@kernel.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 Drop the second, redundant reinitialisation of the endpoint-descriptor pointer from probe. Signed-off-by: Johan Hovold --- drivers/input/tablet/gtco.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/input/tablet/gtco.c b/drivers/input/tablet/gtco.c index eef5946a6ba4..96d65575f75a 100644 --- a/drivers/input/tablet/gtco.c +++ b/drivers/input/tablet/gtco.c @@ -970,8 +970,6 @@ static int gtco_probe(struct usb_interface *usbinterface, input_dev->dev.parent = &usbinterface->dev; /* Setup the URB, it will be posted later on open of input device */ - endpoint = &usbinterface->cur_altsetting->endpoint[0].desc; - usb_fill_int_urb(gtco->urbinfo, udev, usb_rcvintpipe(udev, -- 2.24.0