From patchwork Wed May 16 12:42:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Vorontsov X-Patchwork-Id: 8678 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id A14C223E49 for ; Wed, 16 May 2012 12:44:28 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id 6FBDFA18930 for ; Wed, 16 May 2012 12:44:28 +0000 (UTC) Received: by mail-yw0-f52.google.com with SMTP id p61so703095yhp.11 for ; Wed, 16 May 2012 05:44:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:date:from :to:cc:subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to:user-agent:x-gm-message-state; bh=JvwxFrnvCl+X0xYRTO6hF1TeKidwA6V68c0/2zvxe5Y=; b=khzOVceJ1LW4eauVWyPTDEw/JsiqRZynOT2i5m3rKoOvYzvOF3YlkaUh5H3naaY+NF rdYHy734mDe2ZUcFyxsG3Z4KLmkmG2K/c7oQC8yh/Ig/IZ9nY5MKbO86ax11v3QFZYT7 MwlhDWAqGmF63tjNim9uvtNAgTb/8GNdpOWjrkkTdB+Cqh7NCBMBiQlG1MpEij5Z7RNQ u24cGr81c86qvwt69RNupgFJBaTsE9gbqaNpMEwPVgTqrG3NBmcuSd7VpLfXMswgmeYn fqBpAcCPyGPEuvmS/BUPOmWTYa7OeiBLRIdNUKR2z1NRrytkzRNYSi89f2wtpW8TU/Dm CBDQ== Received: by 10.50.203.39 with SMTP id kn7mr1814917igc.53.1337172268048; Wed, 16 May 2012 05:44:28 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.35.72 with SMTP id o8csp490713ibd; Wed, 16 May 2012 05:44:27 -0700 (PDT) Received: by 10.68.241.161 with SMTP id wj1mr16088274pbc.112.1337172266943; Wed, 16 May 2012 05:44:26 -0700 (PDT) Received: from mail-pz0-f50.google.com (mail-pz0-f50.google.com [209.85.210.50]) by mx.google.com with ESMTPS id vv5si5846232pbc.337.2012.05.16.05.44.26 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 16 May 2012 05:44:26 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.210.50 is neither permitted nor denied by best guess record for domain of anton.vorontsov@linaro.org) client-ip=209.85.210.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.50 is neither permitted nor denied by best guess record for domain of anton.vorontsov@linaro.org) smtp.mail=anton.vorontsov@linaro.org Received: by danh15 with SMTP id h15so1168470dan.37 for ; Wed, 16 May 2012 05:44:26 -0700 (PDT) Received: by 10.68.125.201 with SMTP id ms9mr10145411pbb.144.1337172266639; Wed, 16 May 2012 05:44:26 -0700 (PDT) Received: from localhost (c-71-204-165-222.hsd1.ca.comcast.net. [71.204.165.222]) by mx.google.com with ESMTPS id pz3sm5375481pbc.16.2012.05.16.05.44.24 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 16 May 2012 05:44:25 -0700 (PDT) Date: Wed, 16 May 2012 05:42:57 -0700 From: Anton Vorontsov To: Greg Kroah-Hartman , Kees Cook , Colin Cross Cc: Arnd Bergmann , John Stultz , Shuah Khan , arve@android.com, Rebecca Schultz Zavin , Jesper Juhl , Randy Dunlap , Stephen Boyd , Thomas Meyer , Andrew Morton , Marco Stornelli , WANG Cong , linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, linaro-kernel@lists.linaro.org, patches@linaro.org, kernel-team@android.com Subject: [PATCH 1/6] persistent_ram: Remove never used struct persistent_ram_zone members Message-ID: <20120516124256.GA18345@lizard> References: <20120516124109.GA14658@lizard> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20120516124109.GA14658@lizard> User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQkevjyQz3d3DYCOJUdf4GPlPrMFaopsPhAEf3oahnLw5Ge8qATV6L/pxurDGYsTKjJONGiz Remove 'old_log_footer_size' and 'early' members of struct persistent_ram_zone, as these were never used at all. Signed-off-by: Anton Vorontsov --- drivers/staging/android/persistent_ram.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/android/persistent_ram.h b/drivers/staging/android/persistent_ram.h index d3b2b45..d23850c 100644 --- a/drivers/staging/android/persistent_ram.h +++ b/drivers/staging/android/persistent_ram.h @@ -59,8 +59,6 @@ struct persistent_ram_zone { char *old_log; size_t old_log_size; - size_t old_log_footer_size; - bool early; }; int persistent_ram_early_init(struct persistent_ram *ram);