1 As the assigned value is being overwritten shortly after, it can be
2 dropped and so the whole variable definition moved to the start of the
5 Signed-off-by: Phil Sutter <n0-1@freewrt.org>
7 drivers/net/korina.c | 3 +--
8 1 files changed, 1 insertions(+), 2 deletions(-)
10 --- a/drivers/net/korina.c
11 +++ b/drivers/net/korina.c
12 @@ -738,6 +738,7 @@ static struct ethtool_ops netdev_ethtool
13 static void korina_alloc_ring(struct net_device *dev)
15 struct korina_private *lp = netdev_priv(dev);
16 + struct sk_buff *skb;
19 /* Initialize the transmit descriptors */
20 @@ -753,8 +754,6 @@ static void korina_alloc_ring(struct net
22 /* Initialize the receive descriptors */
23 for (i = 0; i < KORINA_NUM_RDS; i++) {
24 - struct sk_buff *skb = lp->rx_skb[i];
26 skb = dev_alloc_skb(KORINA_RBSIZE + 2);