Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2821348imm; Tue, 4 Sep 2018 10:31:17 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb8Pt9V6fz8Je5JTR5HSvIrMKmGcRJVMmH41MoSRZy7Mefraykbzzgj5zbjq1a1qxgtattf X-Received: by 2002:a62:8ad1:: with SMTP id o78-v6mr14658406pfk.17.1536082277517; Tue, 04 Sep 2018 10:31:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536082277; cv=none; d=google.com; s=arc-20160816; b=lmEVEkdRPudgNo2XAS16twQyqc2RuWbUvY362FSB1roGP1yoUfOfhvgQrt5ovHVokz WRKNt8an+9EOyqcm6GuNifg3ybAWI2ld5skOFDGOebx6ekRTeaIwZbxGBJ5ofPEuKYM1 9WqkLQfqcfurBJ88sd2HKjgX98+t6FeQWehi8jFxtc03x74QsXMYHgxK62ZpGxzkIPhp ASun9Z3QMmt5s6kHuT+NwLnRlC7nmJD9cCM9DM5YtETM3P4jT/Ro1lQFSHbzJPaNu/Yd pGQgkOJC+XvOhS/MqunqX64/2cNsagSSgiLlNory5nTdQ+9vC/rDAEshQF5BGwSgmBxW pTZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=3Jj6ii9vcaPUVrOjgoM0Zn71UntoACULNvehqv2Ajhw=; b=HcwjQMcNCx5aDxLAZWNVIK75rV3OTp9AALCScK2u0PVpT+oI1UyItTuR4KKSTolSCZ vBZLd8nwNIruh2xZMgu1xmf5AoNY+h1DD+nRO+uagogjFcrHCDa1mSDrJ1L7XzavEB1q 3FMvJ3JjvePoHgQG/3TjpD572mcIxlqMBSVFN9rkUIMuz9RlVhpBzwLDqiDL1xEbykG1 VHG/DLuDM5ppGPxEvT4/iu7YXOhusqf9KUDoneUHK7JrsAnUgwF52Hn4WCSNxg3u0bHC 0RR/pfHWTvVyWradnyGzn+mH7i7Z/xHSIKuVSF3+qTD7eHPI1JfTlXKrd9UqEkrQTCIS aC8Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w13-v6si21299749pll.449.2018.09.04.10.31.02; Tue, 04 Sep 2018 10:31:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727852AbeIDVzv (ORCPT + 99 others); Tue, 4 Sep 2018 17:55:51 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:59469 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727220AbeIDVzu (ORCPT ); Tue, 4 Sep 2018 17:55:50 -0400 Received: from localhost.localdomain ([37.4.249.97]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.183]) with ESMTPSA (Nemesis) id 0Lb1ib-1fUpDu40mf-00kdbC; Tue, 04 Sep 2018 19:29:40 +0200 From: Stefan Wahren To: Woojung Huh Cc: Microchip Linux Driver Support , "David S. Miller" , netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Wahren Subject: [PATCH V2 4/4 next] net: lan78xx: Make declaration style consistent Date: Tue, 4 Sep 2018 19:29:12 +0200 Message-Id: <1536082152-3669-5-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536082152-3669-1-git-send-email-stefan.wahren@i2se.com> References: <1536082152-3669-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K1:A77hTVESIIEQYxz8Sf1Jj08AlI77pYKhh3dmIqk1O8L7BLNAHV5 aOWXktCunBVGoFOrgBju38c3GO+Ik6JfIHykC6nQ1Xjs1qr9fm18ASvowLTudm7H0xeToQQ Qu8sPwKq1BdakBibr6QjC3rEMNcYvgSPMp0y3wXSS7OsIdaA8hOnoRSlKJr4xx8hB9OkXi6 d5zAxKBFDY0ilx+4Uh5vg== X-UI-Out-Filterresults: notjunk:1;V01:K0:Jm+lOBuXalw=:AeQKnrE5ZxBZZqhZsrjjFT 6Xo+hXUSJeWnuV7b3vzoln8V6cij32/nP5r1FmEviIoJKURBcgHd8aRNGN3BXx0aufAf3mgWU //aczNFu6ogmD88Dsfh29bwKmagZhSsRVME6T9OZNZUATEsie26CwXwxH7COvUBvyUUiUfXJB yY3WHnxrsulNMaJccA2sbzmHlGNsAZGMKprDZU9+CALrJD85wDtiz9yNhgKVtYHMnAUTivT/7 M1XGyPL4brkGwr84zgStz+YSLpC4uMIKyf52eAC+usUcuYVlW+7BQaHuGZc6y4x+Z4A83CoMu kjscUgrThqcy2NBq5Sgb/4m4BZ4M4O1tZTqXH1R4m0jA25zAnLUUWG9pqwqoNtPuvQOM5TyfX 5fjXT55hZc2Y6EE8ovpzmvFlXmKREwB7qag0HlBAx5Sxpd6NFfkUE+IEvD8tXwwFp9a1OwIK2 sbHxJB4zqXGOioqIg7ll5IKMIQvrbyxuZAbaLowi5sRXUd9oMIVJsKLtFuOnfkuSHLpjhaT2c YzJ2u6SOchDBaWCzDMkbJVzCstQxeqJP/KIuMevopHtUVFPa53HiisQOnt6aImXi0lOn77e2o HE3dZNgyZKd11m9O4RNvdJca5SlQ9bXVdKdaycPXLY8nGQf1BB+CsFy3rjLHfft8egDvKBDYy dykMXEkh0rBp3mZRl/hAIA450G0GOjy35GHDbru4YO0AYOfmHoAiaqU8/Q07sKUqkF60= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch makes some declaration more consistent. Signed-off-by: Stefan Wahren Reviewed-by: Raghuram Chary Jallipalli --- drivers/net/usb/lan78xx.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c index e1c055d..331bc99 100644 --- a/drivers/net/usb/lan78xx.c +++ b/drivers/net/usb/lan78xx.c @@ -1015,7 +1015,7 @@ static int lan78xx_dataport_write(struct lan78xx_net *dev, u32 ram_select, static void lan78xx_set_addr_filter(struct lan78xx_priv *pdata, int index, u8 addr[ETH_ALEN]) { - u32 temp; + u32 temp; if ((pdata) && (index > 0) && (index < NUM_OF_MAF)) { temp = addr[3]; @@ -2690,7 +2690,7 @@ static void lan78xx_terminate_urbs(struct lan78xx_net *dev) static int lan78xx_stop(struct net_device *net) { - struct lan78xx_net *dev = netdev_priv(net); + struct lan78xx_net *dev = netdev_priv(net); if (timer_pending(&dev->stat_monitor)) del_timer_sync(&dev->stat_monitor); @@ -3073,7 +3073,7 @@ static void lan78xx_rx_vlan_offload(struct lan78xx_net *dev, static void lan78xx_skb_return(struct lan78xx_net *dev, struct sk_buff *skb) { - int status; + int status; if (test_bit(EVENT_RX_PAUSED, &dev->flags)) { skb_queue_tail(&dev->rxq_pause, skb); @@ -3633,10 +3633,10 @@ static void intr_complete(struct urb *urb) static void lan78xx_disconnect(struct usb_interface *intf) { - struct lan78xx_net *dev; - struct usb_device *udev; - struct net_device *net; - struct phy_device *phydev; + struct lan78xx_net *dev; + struct usb_device *udev; + struct net_device *net; + struct phy_device *phydev; dev = usb_get_intfdata(intf); usb_set_intfdata(intf, NULL); -- 2.7.4