From patchwork Sun Mar 8 12:31:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 5961771 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 49CDFBF6C3 for ; Sun, 8 Mar 2015 12:32:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8B567202F0 for ; Sun, 8 Mar 2015 12:32:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BB4E5202EB for ; Sun, 8 Mar 2015 12:32:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752628AbbCHMbz (ORCPT ); Sun, 8 Mar 2015 08:31:55 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:38061 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752487AbbCHMbo (ORCPT ); Sun, 8 Mar 2015 08:31:44 -0400 Received: by pabrd3 with SMTP id rd3so41330710pab.5; Sun, 08 Mar 2015 05:31:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=aA3EPEqdwd5nr5SLhQt2KTfqpVo4wyFcIWGpSr1JShk=; b=vekgd9zaSsVQs7DndMrYq70eMpXhJceW1w6h1pEXu4RxmPRrxn8HYv6Rj7LYLmYY2A VkQ32iLoKSwWlIHhzOutuFh2p2tPKqfwibWhoCGq4RSa+YgyMWfsge6Q61vBS7i02FK2 KWIDAYig8JPJufBLfhiw7TU3IeuP3s3KsetgmNIFHlQKYqmb8HB36+/HinLBBVU4++wO /75MkFpXeOyHZrelbByyXK8ASnj4I2h17oQ6IlGZ/R1jWki/h//gvTMBu1FAUM0A0C6/ S1q6ZyE0AkVKgYImr8dzzHKwpDnc0lJHzb7nDbgIN0VzjDZyHK4nsmK0wjvoEgjEvik6 Qpew== X-Received: by 10.70.40.144 with SMTP id x16mr42354588pdk.148.1425817903585; Sun, 08 Mar 2015 05:31:43 -0700 (PDT) Received: from localhost.localdomain ([122.169.150.126]) by mx.google.com with ESMTPSA id n10sm14708530pdp.18.2015.03.08.05.31.41 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 08 Mar 2015 05:31:43 -0700 (PDT) From: Sudip Mukherjee To: Greg Kroah-Hartman Cc: Sudip Mukherjee , linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] staging: sm750fb: remove pragma optimize Date: Sun, 8 Mar 2015 18:01:24 +0530 Message-Id: <1425817886-14387-2-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1425817886-14387-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1425817886-14387-1-git-send-email-sudipm.mukherjee@gmail.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_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 remove use of #pragma optimize which will usually be ignored by the compiler. Signed-off-by: Sudip Mukherjee --- drivers/staging/sm750fb/ddk750_swi2c.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_swi2c.c b/drivers/staging/sm750fb/ddk750_swi2c.c index b53407b..cae6b9b 100644 --- a/drivers/staging/sm750fb/ddk750_swi2c.c +++ b/drivers/staging/sm750fb/ddk750_swi2c.c @@ -217,8 +217,6 @@ static unsigned char swI2CReadSDA(void) return 0; } -#pragma optimize( "", off ) - /* * This function sends ACK signal */ @@ -356,7 +354,6 @@ unsigned char swI2CReadByte(unsigned char ack) return data; } -#pragma optimize( "", on ) /* * This function initializes GPIO port for SW I2C communication.