Skip to content

Commit 51ceac9

Browse files
Stefan Wahrendavem330
authored andcommitted
net: lan78xx: Make declaration style consistent
This patch makes some declaration more consistent. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Reviewed-by: Raghuram Chary Jallipalli <raghuramchary.jallipalli@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 6be665a commit 51ceac9

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

‎drivers/net/usb/lan78xx.c‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ static int lan78xx_dataport_write(struct lan78xx_net *dev, u32 ram_select,
10151015
static void lan78xx_set_addr_filter(struct lan78xx_priv *pdata,
10161016
int index, u8 addr[ETH_ALEN])
10171017
{
1018-
u32 temp;
1018+
u32 temp;
10191019

10201020
if ((pdata) && (index > 0) && (index < NUM_OF_MAF)) {
10211021
temp = addr[3];
@@ -2690,7 +2690,7 @@ static void lan78xx_terminate_urbs(struct lan78xx_net *dev)
26902690

26912691
static int lan78xx_stop(struct net_device *net)
26922692
{
2693-
struct lan78xx_net *dev = netdev_priv(net);
2693+
struct lan78xx_net *dev = netdev_priv(net);
26942694

26952695
if (timer_pending(&dev->stat_monitor))
26962696
del_timer_sync(&dev->stat_monitor);
@@ -3073,7 +3073,7 @@ static void lan78xx_rx_vlan_offload(struct lan78xx_net *dev,
30733073

30743074
static void lan78xx_skb_return(struct lan78xx_net *dev, struct sk_buff *skb)
30753075
{
3076-
int status;
3076+
int status;
30773077

30783078
if (test_bit(EVENT_RX_PAUSED, &dev->flags)) {
30793079
skb_queue_tail(&dev->rxq_pause, skb);
@@ -3633,10 +3633,10 @@ static void intr_complete(struct urb *urb)
36333633

36343634
static void lan78xx_disconnect(struct usb_interface *intf)
36353635
{
3636-
struct lan78xx_net *dev;
3637-
struct usb_device *udev;
3638-
struct net_device *net;
3639-
struct phy_device *phydev;
3636+
struct lan78xx_net *dev;
3637+
struct usb_device *udev;
3638+
struct net_device *net;
3639+
struct phy_device *phydev;
36403640

36413641
dev = usb_get_intfdata(intf);
36423642
usb_set_intfdata(intf, NULL);

0 commit comments

Comments
 (0)