From patchwork Mon Mar 9 07:35:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 5965161 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 9A7159F444 for ; Mon, 9 Mar 2015 07:36:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E023A20254 for ; Mon, 9 Mar 2015 07:36:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 160E72024F for ; Mon, 9 Mar 2015 07:36:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752798AbbCIHf0 (ORCPT ); Mon, 9 Mar 2015 03:35:26 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:43806 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752702AbbCIHfX (ORCPT ); Mon, 9 Mar 2015 03:35:23 -0400 Received: by pdjp10 with SMTP id p10so55853016pdj.10; Mon, 09 Mar 2015 00:35:22 -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=c/V2BgqeeIigdoOtOVWXBqsuxLCcvp+HLyHn3zdk9MA=; b=dsU4v7LzaXZXE2ac7qMZ0s0DSa80XKPGuYMK4rrVYAyL0VEgadox0/MUr6WCYiisQB hgMDHPR94TdGNUwf8XW5R4SLQURrX7Q2T0wNbjhU8aVx1YLlXSpuLzxJGeYjlNuakh1E 1eM1swYcou3wW+eZ5eyhhHcMp7qeUS7ZFMP/Gs5SZT3+Q6FiNNCO8H90RdBVC1duVhB8 LPfpIyq/ADQAbXLZ8rIB8CrzaUNye5o27uG1Dim3uwA6tOBbOBBrD/jXUOOqyRlfpHGa oS6xyzy6KIEKt49L51TYIqhdcV31kNeLaKXGd4AXBBpXKD/qMc7VMpKgeYdGGSQYCrKC tT2w== X-Received: by 10.66.102.65 with SMTP id fm1mr50385460pab.115.1425886522874; Mon, 09 Mar 2015 00:35:22 -0700 (PDT) Received: from localhost.localdomain ([122.169.145.94]) by mx.google.com with ESMTPSA id a4sm17553024pdf.57.2015.03.09.00.35.20 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 09 Mar 2015 00:35:22 -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 v2 2/4] staging: sm750fb: remove pragma optimize Date: Mon, 9 Mar 2015 13:05:04 +0530 Message-Id: <1425886506-8643-2-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1425886506-8643-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1425886506-8643-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 --- v2: same as v1 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.