Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1217165ybg; Sat, 26 Oct 2019 15:27:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqyPJ84cDBqir2Hpn2aW09YhtLJ/+KAAJlo/b0ZaR1Zw+oejz9BscnBlU4oh33QKzt54n43V X-Received: by 2002:aa7:cf05:: with SMTP id a5mr11399940edy.255.1572128850606; Sat, 26 Oct 2019 15:27:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572128850; cv=none; d=google.com; s=arc-20160816; b=i5kVO7fXg01jMOSg1N7TMneCN2tfk89hqJPqkJMr7HauQTaavkMeEcndqsyq4KveBU k9o/fO3iesRRsfauznF1zM/gWgbnTsd6d/zj2toseJzHCnc0LnW3YW9/wEprJNy/HvX8 pA7QO7QszkkbYjex/qDkFep1iz4PQp8gJ2/oH+iQ8+tbU8WakBHLBG/dfD/95CsO+fhg 0q5L9wnR5I4lIT3/khiOVBJmxgQCnPX3nPU5lMQO59ucM6oaX7uAzsGyScxSRNNlrlOD jwkHCoh5DMUix8j/YWoY7miYopwtjwiWwdNsA+KbWehpnlDCfmo7sbdIxGf1+dttcJO4 +Osg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=ckFFNPjTqoIV9NtKmwbFlYYqSItNgTJwWUgtTUGHSxk=; b=zdQ4jWfHQn6MBADzxgaLMiJt0sw3EGJD/HUzKYqtqc2OimspoYXN4zrqYD6cC4XXpN FXG3iz9fCrBUIkrNHlnqQdRbT0Jl/TomGtQ3OTkaogp9Hl2VzkwmjO0rtJyssmoOLpfs X/z5JfuUBqwGXxsYdUiLOayNd8IjXUtRw69zPPJVxi6R9xn16+P8p08tjXcP7wJv3LcP 2PIfYOxoeY8HmFlOw75zxv7uxb908DTG0hJfKg6nimGXXc0lqitQTz1cL3lwHf6i0YG9 gZo9e6EJpavIYuAd1d70UkZ5O/QDpSTAgWyECftShIhWLEq6my8YucUuD3baIxuNuNO/ Q3kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AjxPHJRs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v13si5381554eda.131.2019.10.26.15.26.53; Sat, 26 Oct 2019 15:27:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AjxPHJRs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726524AbfJZWY7 (ORCPT + 99 others); Sat, 26 Oct 2019 18:24:59 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:37792 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726263AbfJZWY6 (ORCPT ); Sat, 26 Oct 2019 18:24:58 -0400 Received: by mail-qt1-f196.google.com with SMTP id g50so8926625qtb.4 for ; Sat, 26 Oct 2019 15:24:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=ckFFNPjTqoIV9NtKmwbFlYYqSItNgTJwWUgtTUGHSxk=; b=AjxPHJRsbcMH2/yFR06YkVU6csiJTZ6l9KnCXkdhc+NmED9nLh+t3MhvGP+hwKwVbc xIcwTJUTNncG2HowAbSXiRokyvVtAfBpd3d1gh+xXC0zLTkNf/hjYkr52j9q6xgS09rW 6JaeZKEbbFx8mNpGP9Um3Le1q7vTAIvRXyXWa43GOy6tIFG2TxX/gKndQ6nLhu8qOrQq C//IEr0XuQOSWEFPapyQDI2ViWzTPTiFWyIpvbApmtgnSVPSM6+LIdgTjdCrMbmzAYup /oDLF35L1hzW9FFtEABWmUreWI7aXs7JaF4Dn5Bi83v0UB/PYB5snwGyQeFeQ4Fh+cfu W4Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=ckFFNPjTqoIV9NtKmwbFlYYqSItNgTJwWUgtTUGHSxk=; b=T7TXqPJ0VQOWzo6Urwah1W6ezp/KJn5vm1NVacwP9zsYWnNhKcRtf9XCuay4WRl4Gh fo6dCokQn+/Akw737oM/pVidj/hg7XJ5uCUt076k5nHFTpEoiuWv3644PjnZol4pdPlP trtFqa4Yulrt1RvTcNUKReoAUzlZeocsy3eRzI36JlIwdN9v57F2hNFpfq/lb6fMNuCL I6xGWbBhKeVtIP1M0r/fVmUglOSDxf3mlTgxLER2y0dql1k529lKqVazb1ReAKGWGXnC 0+E13TNk6ICE+5nBCTV1fDG5J+QTjkobChkN2V3EiZxmpcAugryHlnffHB+JyptCn8LU Ey8w== X-Gm-Message-State: APjAAAX4vmlbtMHIQyHcUPmUBxdgonitZuxG1h3mgq2mzUhsyLX/iI4T hcuagNI7Y/vQzhitnzpL4hc= X-Received: by 2002:ac8:d6:: with SMTP id d22mr10473557qtg.290.1572128698141; Sat, 26 Oct 2019 15:24:58 -0700 (PDT) Received: from cristiane-Inspiron-5420 ([131.100.148.220]) by smtp.gmail.com with ESMTPSA id c204sm2606120qkb.90.2019.10.26.15.24.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Oct 2019 15:24:57 -0700 (PDT) Date: Sat, 26 Oct 2019 19:24:53 -0300 From: Cristiane Naves To: outreachy-kernel@googlegroups.com Cc: Greg Kroah-Hartman , Julia Lawall , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: octeon: Remove unneeded variable Message-ID: <20191026222453.GA14562@cristiane-Inspiron-5420> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove unneeded variable used to store return value. Issue found by coccicheck. Signed-off-by: Cristiane Naves --- drivers/staging/octeon/octeon-stubs.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/octeon/octeon-stubs.h b/drivers/staging/octeon/octeon-stubs.h index b07f5e2..d53bd801 100644 --- a/drivers/staging/octeon/octeon-stubs.h +++ b/drivers/staging/octeon/octeon-stubs.h @@ -1387,9 +1387,7 @@ static inline cvmx_pko_status_t cvmx_pko_send_packet_finish(uint64_t port, uint64_t queue, union cvmx_pko_command_word0 pko_command, union cvmx_buf_ptr packet, cvmx_pko_lock_t use_locking) { - cvmx_pko_status_t ret = 0; - - return ret; + return 0; } static inline void cvmx_wqe_set_port(struct cvmx_wqe *work, int port) -- 2.7.4