mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
style cleanups (make checkpatch.pl happy)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8851 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -502,7 +502,7 @@ static int cpmac_start_xmit(struct sk_buff *skb, struct net_device *dev)
|
|||||||
|
|
||||||
if (unlikely(skb_padto(skb, ETH_ZLEN))) {
|
if (unlikely(skb_padto(skb, ETH_ZLEN))) {
|
||||||
if (netif_msg_tx_err(priv) && net_ratelimit())
|
if (netif_msg_tx_err(priv) && net_ratelimit())
|
||||||
printk(KERN_WARNING "%s: tx: padding failed, dropping\n",
|
printk(KERN_WARNING"%s: tx: padding failed, dropping\n",
|
||||||
dev->name);
|
dev->name);
|
||||||
spin_lock_irqsave(&priv->lock, flags);
|
spin_lock_irqsave(&priv->lock, flags);
|
||||||
priv->stats.tx_dropped++;
|
priv->stats.tx_dropped++;
|
||||||
@@ -624,7 +624,7 @@ static inline void cpmac_free_rx_ring(struct net_device *dev)
|
|||||||
static irqreturn_t cpmac_irq(int irq, void *dev_id)
|
static irqreturn_t cpmac_irq(int irq, void *dev_id)
|
||||||
{
|
{
|
||||||
struct net_device *dev = dev_id;
|
struct net_device *dev = dev_id;
|
||||||
struct cpmac_priv *priv;
|
struct cpmac_priv *priv;
|
||||||
u32 status;
|
u32 status;
|
||||||
|
|
||||||
if (!dev)
|
if (!dev)
|
||||||
|
|||||||
Reference in New Issue
Block a user