From patchwork Tue Mar 10 08:45:36 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 5975661 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 20852BF6C3 for ; Tue, 10 Mar 2015 08:47:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6206C2017D for ; Tue, 10 Mar 2015 08:47:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6665C2024D for ; Tue, 10 Mar 2015 08:47:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752864AbbCJIrY (ORCPT ); Tue, 10 Mar 2015 04:47:24 -0400 Received: from mail-pd0-f179.google.com ([209.85.192.179]:33868 "EHLO mail-pd0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752332AbbCJIqQ (ORCPT ); Tue, 10 Mar 2015 04:46:16 -0400 Received: by pdno5 with SMTP id o5so169143pdn.1; Tue, 10 Mar 2015 01:46:15 -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=fngqieQ4W+gs+yvIRAPAchhnLbvF9xV2QGTNeFx49+Q=; b=khYQG802u5tksVu5w/q6SROfxgcmuyK5zWcIfQZK8Gaiotn4We7eVpUWrjPQnRc5Ct GNU96KPoir85+edhhlFb7xGZgra3ZNVZaOWlyOuea1PI1IszaE/heya5oLs+o8WEL2Af jBTriu4sVXOy1AzOcurOrhvXnDHtVx7ngBKFqWSVajV0nMDvcm9yO5hMVre12s6cpIn9 1omQMqTkvcrRtqQJOSo6QUYzKFWnjaAaUnRGR/SuRIMc3WB/mgHXaUIlIE8eb68AlyVE k6oRsBYj5BuEt2kGStYimmaKxQBNVpl/37LCfQLbFz+dC1/ebZHNOZuy1EjNo4MC/vYV g2PQ== X-Received: by 10.66.156.229 with SMTP id wh5mr63423557pab.119.1425977175435; Tue, 10 Mar 2015 01:46:15 -0700 (PDT) Received: from localhost.localdomain ([122.169.145.94]) by mx.google.com with ESMTPSA id v2sm22937994pdm.77.2015.03.10.01.46.13 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Mar 2015 01:46:14 -0700 (PDT) From: Sudip Mukherjee To: Greg Kroah-Hartman Cc: linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Sudip Mukherjee Subject: [PATCH v3 2/5] staging: sm750fb: remove pragma optimize Date: Tue, 10 Mar 2015 14:15:36 +0530 Message-Id: <1425977139-25285-2-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1425977139-25285-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1425977139-25285-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 --- v3: no change v2: no change 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.