Message ID | 20210326143458.508959-3-lee.jones@linaro.org |
---|---|
State | Accepted |
Commit | 4ce3ba52340165c33d1a43a407a138028e210b21 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1488633jai; Fri, 26 Mar 2021 07:35:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWwxjxYJc3zCo4XWelbkvnenj+rZjCIByB1R4GvOwpnZuBRLPze86Yh5M0zHeAx5htVYo2 X-Received: by 2002:a17:906:a049:: with SMTP id bg9mr15645259ejb.186.1616769347420; Fri, 26 Mar 2021 07:35:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616769347; cv=none; d=google.com; s=arc-20160816; b=ZHMbDwcrkcnVOTD0nkW3s+rp7XAO3yM8KkKv7nLCK9rPcQ+VBS1qAHS1w7ZoswTJLq jOkG0CMQqWnVLvHjpv7AVZbFZkig5akalTmfvj12hegboa0tuLuM2NzCQXQU/7fBkvdj JfaUcGLxKqKB2yIYsPnB0aGLXy0wK/hgb1+7Bmpj2nowRHmYoziVfeElu4/hcSNUIFPO uUOSt//YcDHoApoN8bLITeYUmwju8oDG7OZGhllRf3E7UkVdcn22dIo/5NYm67m9rUNU OBh2kn/QR/3Kugkn/IvxUFYeWmzxLdQnvZ5jM0h4avVhZho61WjjRQ1GdvNtrxP60txs W5zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=DBKiLgurMgloDH4dmthaQmSJlqRwCd+7wWZCtSqyx24=; b=wXEz7W29jnFmdHm/p7yeDGXwzMQIVqLmREf5DEQrhYenIZfpidGdJSwUxJ1PDVSUDc FAoHEWPIrwfFjMC6ocyO+tqC0kxWpx7nmS5MkwPpQUmtdPg4s61j29GT4OXT/WceoFeK 5Dk4Ep6mKxJJVIQeqAZfZgs2GVnwZfJ1s9ypFege9oFYlsoz0YRrV1hG/O1pUiIE4wv3 J63QeFHeTYUfnQTza9cWdv76IGPn2rGMzTckOZOuAhYCDimJTrqvBudAMMJbVdE2WPbk aAbrXwooy1FckZyYkzbvAbEJ9tGxWOIiMBFUOzXAepdh2WFkLcFqCUcKtv8mh1G53pTn MYng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bvITmmoW; spf=pass (google.com: domain of linux-input-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-input-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-input-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e16si2126144edz.7.2021.03.26.07.35.47; Fri, 26 Mar 2021 07:35:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-input-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=@linaro.org header.s=google header.b=bvITmmoW; spf=pass (google.com: domain of linux-input-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-input-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230243AbhCZOfP (ORCPT <rfc822;patch@linaro.org> + 1 other); Fri, 26 Mar 2021 10:35:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230173AbhCZOfH (ORCPT <rfc822;linux-input@vger.kernel.org>); Fri, 26 Mar 2021 10:35:07 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0766C0613BB for <linux-input@vger.kernel.org>; Fri, 26 Mar 2021 07:35:04 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id e18so5870183wrt.6 for <linux-input@vger.kernel.org>; Fri, 26 Mar 2021 07:35:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DBKiLgurMgloDH4dmthaQmSJlqRwCd+7wWZCtSqyx24=; b=bvITmmoWQkz/BAmA8clyA6v/M3+4LVQGjzfWYcjfQB8daWbjdZi/gq9mTkUXL2fw/W dW3SpncUQ97s56AZ3GH3+VJFN7bcHm/EADf3xINuOVau4zU3K8WwwIAD+g28RNoYrGN2 AwYI4kqLEsWZ7rRn1m+Yd+TmBHbO4T0OOG2gWLu5SF/aLQwXLieq49mggUigXX7XRh9Y yBXuRgHE3KZnHY8QKTUQPz0FeWMzisZRBtF+nks1p3OoPj7yIgZ3kQIqNOIRyuGKAIWK p6qN1u9PEaJ9ZUoPhRKrzT3FFazBauvOgSMjB8fdSYkfyBoq3L6fdNBy+xo8zBMhRdB3 +oqg== 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=DBKiLgurMgloDH4dmthaQmSJlqRwCd+7wWZCtSqyx24=; b=bdpBPbkMoiGoftdp7AaZl4GCATrkZZ5sGA/YLERE15LOu1sWpeuISRuiihTiTwhcfX iwsuXozihJMfXr16JL3EqZnI8AcVHKxcb8p4ngme0x+EhWk8howrNTQj0BgY0eG4u/ym Qe1S4f0YrOHDkhENEJ6otB4l9wgkKR1CEO346Y+p/P8kg2RbFRD9Zn9yFQ8Z9ikvb5Nh 9QzIRUuR/V1t1zM+tX/DEE/Pl1U0o736C9QafEFtaOJzcETKy1a1h4J+lm2z1HIObTyf 8CMddvlqXs+ADTQWR4bthbxevFX8UOnXsUPf/m0mm+7s79EmDnU91L68e5NiegRVYlTl +Rzw== X-Gm-Message-State: AOAM531QsETKCtICAeUYgQZAWLozSgc5ZBVneNFibcC9uue5A6wXPidR dfUQbm51nFILgWeT2dAV2MLZHg== X-Received: by 2002:adf:f4ce:: with SMTP id h14mr14682728wrp.257.1616769303585; Fri, 26 Mar 2021 07:35:03 -0700 (PDT) Received: from dell.default ([91.110.221.194]) by smtp.gmail.com with ESMTPSA id j26sm12878225wrh.57.2021.03.26.07.35.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Mar 2021 07:35:03 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>, Jiri Kosina <jikos@kernel.org>, Benjamin Tissoires <benjamin.tissoires@redhat.com>, linux-input@vger.kernel.org Subject: [PATCH 01/25] HID: intel-ish-hid: Remove unused variable 'err' Date: Fri, 26 Mar 2021 14:34:34 +0000 Message-Id: <20210326143458.508959-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210326143458.508959-1-lee.jones@linaro.org> References: <20210326143458.508959-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-input.vger.kernel.org> X-Mailing-List: linux-input@vger.kernel.org |
Series |
Rid W=1 warnings from HID
|
expand
|
diff --git a/drivers/hid/intel-ish-hid/ishtp/client.c b/drivers/hid/intel-ish-hid/ishtp/client.c index 1cc157126fce7..c81a1f8a92685 100644 --- a/drivers/hid/intel-ish-hid/ishtp/client.c +++ b/drivers/hid/intel-ish-hid/ishtp/client.c @@ -263,7 +263,6 @@ EXPORT_SYMBOL(ishtp_cl_unlink); int ishtp_cl_disconnect(struct ishtp_cl *cl) { struct ishtp_device *dev; - int err; if (WARN_ON(!cl || !cl->dev)) return -ENODEV; @@ -283,7 +282,7 @@ int ishtp_cl_disconnect(struct ishtp_cl *cl) return -ENODEV; } - err = wait_event_interruptible_timeout(cl->wait_ctrl_res, + wait_event_interruptible_timeout(cl->wait_ctrl_res, (dev->dev_state != ISHTP_DEV_ENABLED || cl->state == ISHTP_CL_DISCONNECTED), ishtp_secs_to_jiffies(ISHTP_CL_CONNECT_TIMEOUT));