From patchwork Sat Feb 8 15:12:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 3610351 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9CB48BF418 for ; Sat, 8 Feb 2014 15:12:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E2EFC20103 for ; Sat, 8 Feb 2014 15:12:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BC3F820138 for ; Sat, 8 Feb 2014 15:12:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751462AbaBHPM0 (ORCPT ); Sat, 8 Feb 2014 10:12:26 -0500 Received: from mail-pd0-f174.google.com ([209.85.192.174]:61289 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751378AbaBHPMZ (ORCPT ); Sat, 8 Feb 2014 10:12:25 -0500 Received: by mail-pd0-f174.google.com with SMTP id z10so4355013pdj.33 for ; Sat, 08 Feb 2014 07:12:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:content-type :mime-version:content-transfer-encoding; bh=KbCFetYW9oI55F6bRRYYMD5hySmm2HRvTDxSdWr0rr0=; b=dVB+AWdh4RL3jXxRlCNRM3ftehx4hhFPgCqAynsvDr3b4eMHqXsK1mYIi2nm1t3+DM lOJIzA5vnGzqzTnrW1oAjb+ekeszyol8W3yN6ndsjhDr7AFJ4H6m1Mv9l/8hOVSAxfUI 8I200jMmCy8PNnU5vKfQw6hnQVZTHdq02EoUu2872kdMuw7dwakQVzw4H75g9ZnaLgUE 4BlgjyAkjtAIBEddPRL9riA7KyvUESR7JF4K5AVoc6iy9ee66KzezSGi/hw+XH19dE1q 5OVyKdKpPA/399IX4aktCjFhGh/GW7w03cAL90tGmQZ4h1r/d17HYxmVgjRPPwlhbbwd jnGQ== X-Gm-Message-State: ALoCoQl+H+igcQpE3Z1jD7tRvoNSi6NkYJ5vzpkg0JDNzBhysDnfO4B+bKqJHs36t48QOnoBrba/ X-Received: by 10.68.209.193 with SMTP id mo1mr26990941pbc.38.1391872345371; Sat, 08 Feb 2014 07:12:25 -0800 (PST) Received: from [192.168.0.102] (218-164-154-231.dynamic.hinet.net. [218.164.154.231]) by mx.google.com with ESMTPSA id de1sm24487434pbc.7.2014.02.08.07.12.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 08 Feb 2014 07:12:24 -0800 (PST) Message-ID: <1391872340.4110.5.camel@phoenix> Subject: [PATCH] spi: octeon: Remove unused bits_per_word from struct octeon_spi_setup From: Axel Lin To: Mark Brown Cc: David Daney , John Crispin , linux-spi@vger.kernel.org Date: Sat, 08 Feb 2014 23:12:20 +0800 X-Mailer: Evolution 3.6.4-0ubuntu1 Mime-Version: 1.0 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Axel Lin --- drivers/spi/spi-octeon.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/spi/spi-octeon.c b/drivers/spi/spi-octeon.c index cf88974..1bd6eca 100644 --- a/drivers/spi/spi-octeon.c +++ b/drivers/spi/spi-octeon.c @@ -36,7 +36,6 @@ struct octeon_spi_setup { u32 max_speed_hz; u8 chip_select; u8 mode; - u8 bits_per_word; }; static void octeon_spi_wait_ready(struct octeon_spi *p) @@ -203,7 +202,6 @@ static struct octeon_spi_setup *octeon_spi_new_setup(struct spi_device *spi) setup->max_speed_hz = spi->max_speed_hz; setup->chip_select = spi->chip_select; setup->mode = spi->mode; - setup->bits_per_word = spi->bits_per_word; return setup; }