Re: [RFC PATCH] move tg3 to pci_request_irq

Matthew Wilcox
2006-10-02T18:28:51Z

On Mon, Oct 02, 2006 at 08:11:34PM +0000, Frederik Deweerdt wrote:
> @@ -6838,9 +6838,9 @@ restart_timer:
>
> static int tg3_request_irq(struct tg3 *tp)
> {
> + struct net_device *dev = tp->dev;
> irqreturn_t (*fn)(int, void *, struct pt_regs *);
> unsigned long flags;
> - struct net_device *dev = tp->dev;
>
> if (tp->tg3_flags2 & TG3_FLG2_USING_MSI) {
> fn = tg3_msi;

Is there any reason for this noise?