From patchwork Wed Apr 23 14:58:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 28904 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f70.google.com (mail-ee0-f70.google.com [74.125.83.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 823A4203AC for ; Wed, 23 Apr 2014 15:05:06 +0000 (UTC) Received: by mail-ee0-f70.google.com with SMTP id t10sf713670eei.5 for ; Wed, 23 Apr 2014 08:05:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=9lGnFPiVL0HBo5lyaDA2D9IpaL3iCl+gew2axD816Io=; b=E23tQhJYND6Jdk7Uht5X0Jc/8M0zzrUKBBt7o2wyM9qJW6L7Exbzl8iCV+kL94kFLD zWi0Cwnxs8tiSTVYdfd8uc8OOQwr84+TF02j+n9HlfO/GqAvzjLgEssLg9+xl5tEuWvh wttOhbiqNGAHgdYm8IB77PB8LsUNJCoNn4NfAvps207KQjJXCeG+H2nfxh+eADGcz12g HxK6sbGQOhmTXvW8QA2v8TVMVed6HYnz0yHv3IVgzV6JQ+Kv3UlQ+mNwXhqHxpQkc+sH q9aGu+buopN02eG5B6BxSRye8WszLSVjVx3F3Whuq/3AkZ+1mS9snWgxadC+OWtOoz3c 2VBw== X-Gm-Message-State: ALoCoQmH66Gn362Tsbtz9IU8fezYa6VbnEzlY/t5HGbVj9Sil3wp5N1BOHQN+NCvdCEyS8kpGzJq X-Received: by 10.152.234.233 with SMTP id uh9mr4357350lac.1.1398265505347; Wed, 23 Apr 2014 08:05:05 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.28.137 with SMTP id 9ls644807qgz.14.gmail; Wed, 23 Apr 2014 08:05:05 -0700 (PDT) X-Received: by 10.58.200.227 with SMTP id jv3mr415323vec.77.1398265505007; Wed, 23 Apr 2014 08:05:05 -0700 (PDT) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id kp14si218764vcb.2.2014.04.23.08.05.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 08:05:05 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.128.170; Received: by mail-ve0-f170.google.com with SMTP id pa12so1316766veb.1 for ; Wed, 23 Apr 2014 08:05:04 -0700 (PDT) X-Received: by 10.220.5.129 with SMTP id 1mr304907vcv.71.1398265504909; Wed, 23 Apr 2014 08:05:04 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp110916vcb; Wed, 23 Apr 2014 08:05:04 -0700 (PDT) X-Received: by 10.68.89.225 with SMTP id br1mr26485987pbb.114.1398265504106; Wed, 23 Apr 2014 08:05:04 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fn10si769330pad.361.2014.04.23.08.05.03; Wed, 23 Apr 2014 08:05:03 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757498AbaDWPEq (ORCPT + 27 others); Wed, 23 Apr 2014 11:04:46 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:32893 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757158AbaDWPBP (ORCPT ); Wed, 23 Apr 2014 11:01:15 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s3NF16S9004999; Wed, 23 Apr 2014 10:01:06 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s3NF16k0021370; Wed, 23 Apr 2014 10:01:06 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Wed, 23 Apr 2014 10:01:06 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s3NF151e017466; Wed, 23 Apr 2014 10:01:06 -0500 From: Felipe Balbi To: Greg KH CC: , , , , , Linux Kernel Mailing List , , , , Linux OMAP Mailing List , Tony Lindgren , Felipe Balbi Subject: [PATCH 07/13] tty: serial: omap: cleanup variable declarations Date: Wed, 23 Apr 2014 09:58:31 -0500 Message-ID: <1398265117-11793-7-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.9.2.459.g68773ac In-Reply-To: <1398265117-11793-1-git-send-email-balbi@ti.com> References: <1398265117-11793-1-git-send-email-balbi@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: balbi@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , cleanup only, no functional changes. Signed-off-by: Felipe Balbi --- drivers/tty/serial/omap-serial.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 07d4273..3813740 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c @@ -1641,10 +1641,13 @@ static int serial_omap_probe_rs485(struct uart_omap_port *up, static int serial_omap_probe(struct platform_device *pdev) { - struct uart_omap_port *up; - struct resource *mem, *irq; struct omap_uart_port_info *omap_up_info = dev_get_platdata(&pdev->dev); - int ret, uartirq = 0, wakeirq = 0; + struct uart_omap_port *up; + struct resource *mem; + struct resource *irq; + int uartirq = 0; + int wakeirq = 0; + int ret; /* The optional wakeirq may be specified in the board dts file */ if (pdev->dev.of_node) {