From patchwork Fri May 5 12:30:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Seraphime Kirkovski X-Patchwork-Id: 9713503 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9CB7560362 for ; Fri, 5 May 2017 12:31:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 85AAA285BA for ; Fri, 5 May 2017 12:31:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7A32228699; Fri, 5 May 2017 12:31:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 638A6285BA for ; Fri, 5 May 2017 12:31:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752517AbdEEMbP (ORCPT ); Fri, 5 May 2017 08:31:15 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:35421 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751492AbdEEMbO (ORCPT ); Fri, 5 May 2017 08:31:14 -0400 Received: by mail-wm0-f68.google.com with SMTP id b10so1069738wmh.2; Fri, 05 May 2017 05:31:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=BOd/6WnKeWOIak8xNSnFCFvw57Lv24RJuGFNtyhgVf8=; b=sb3ofluRvRAVBu8kceEslpjQZmAjkBtHjZPvPxI3ruLJLcqfRQDiG3PPjlwHzwZuwJ /mBcELe9jJorjNlFXzrYm1JOX2Td49+BuH0kGoI6qrauO3f9F4PLru+B8ouMFOla2cPP Ejjj//M8WEfDokX6e+LSLPzlm3wpbTWlYU8PhIFx8RU8F3z8+UDSBFnwVkoiTD09H6St /5tj7MykrpiEhajzIYxnMUo+kRl2q+VkKj9hb/uMBGhxizicUUL7R60bxyhFLIO0OnY/ FS1Vx/TrHHUvlChfo+1we+Ue7Lz6z78riFO8tLq6yiVydnlf7M6fQnhXfFdviNP+a99x EiLg== 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; bh=BOd/6WnKeWOIak8xNSnFCFvw57Lv24RJuGFNtyhgVf8=; b=GbVOvvVFKIgN9aQFpO/bGPjR9VEKpsMEbkBto9M0FVVojzmbuujmZOQMZbizbOQnzx 1odD/riEcjYV3zXzy0ITOTphu/gwaOzQ+XXqDazzeV1w3kLX1DVedQ9YTp9gSjtYwZjh iA8jN6+pyP1HH3t+JlYro66H3Qk9pEmG/f6PLfTqxmRtYdaJCnMpDGgp0W0uXWjEwBwC fdTWyh38QZrkIJjcqxDUcwvyuTENVWzJoiOu58dr8x/ToG/udOEuwydW8lOv0SuB+KOY bouQr46u/xcWbP7LwWxrG4+FXnHR4eWYcpVzbcB16OK4HZBIgBBFyTsCG8hvGhG1s5gA IKBA== X-Gm-Message-State: AODbwcBHFkS8HG6lWL8tzIKVajMz9TOnnjFOVmnCqaRjuZVfyXjdfO34 6O9Bl4+V10P2Rw== X-Received: by 10.28.138.209 with SMTP id m200mr5110506wmd.109.1493987473498; Fri, 05 May 2017 05:31:13 -0700 (PDT) Received: from macchiaveli (cha92-19-78-239-153-115.fbx.proxad.net. [78.239.153.115]) by smtp.gmail.com with ESMTPSA id j71sm2265708wmd.12.2017.05.05.05.31.11 (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 05 May 2017 05:31:12 -0700 (PDT) Received: by macchiaveli (sSMTP sendmail emulation); Fri, 05 May 2017 14:31:10 +0200 From: Seraphime Kirkovski To: broonie@kernel.org Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Seraphime Kirkovski Subject: [PATCH] spi: spidev: remove unused completion Date: Fri, 5 May 2017 14:30:49 +0200 Message-Id: <20170505123049.7500-1-kirkseraph@gmail.com> X-Mailer: git-send-email 2.13.0.rc1 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This removes an unused completion from spidev_sync. It was introduced in commit 25d5cb4b0375e ("spi: remove some spidev oops-on-rmmod paths") and it was no longer used after: commit 98d6f47958001 ("spi: spidev: use spi_sync instead of spi_async") Signed-off-by: Seraphime Kirkovski (Haapie) Reviewed-by: Geert Uytterhoeven --- drivers/spi/spidev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 9e2e099baf8c..b2abf89e61db 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -99,7 +99,6 @@ MODULE_PARM_DESC(bufsiz, "data bytes in biggest supported SPI message"); static ssize_t spidev_sync(struct spidev_data *spidev, struct spi_message *message) { - DECLARE_COMPLETION_ONSTACK(done); int status; struct spi_device *spi;