Skip to content
Snippets Groups Projects
Commit 813a69e4 authored by Alessandro Rubini's avatar Alessandro Rubini
Browse files

kernel/wr_nic: fix two warnings due to local changes

parent 64b1e044
Branches
Tags
No related merge requests found
......@@ -106,10 +106,12 @@ static int __devinit wrn_probe(struct platform_device *pdev)
struct wrn_dev *wrn = drvdata->wrn;
int i, err = 0;
#if 0
/* Lazily: irqs are not in the resource list */
static int irqs[] = WRN_IRQ_NUMBERS;
static char *irq_names[] = WRN_IRQ_NAMES;
static irq_handler_t irq_handlers[] = WRN_IRQ_HANDLERS;
#endif
printk("wrn = %p\n", wrn);
......
......@@ -159,7 +159,7 @@ static int wrn_start_xmit(struct sk_buff *skb, struct net_device *dev)
struct wrn_ep *ep = netdev_priv(dev);
struct wrn_dev *wrn = ep->wrn;
struct skb_shared_info *info = skb_shinfo(skb);
unsigned long flags;
//unsigned long flags;
int desc;
int id;
int do_stamp = 0;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment