diff options
Diffstat (limited to 'drivers/net/lp486e.c')
-rw-r--r-- | drivers/net/lp486e.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/net/lp486e.c b/drivers/net/lp486e.c index c5095ecd8b11..0eff1a00c43c 100644 --- a/drivers/net/lp486e.c +++ b/drivers/net/lp486e.c | |||
@@ -1144,14 +1144,13 @@ i596_handle_CU_completion(struct net_device *dev, | |||
1144 | } | 1144 | } |
1145 | 1145 | ||
1146 | static irqreturn_t | 1146 | static irqreturn_t |
1147 | i596_interrupt (int irq, void *dev_instance) { | 1147 | i596_interrupt (int irq, void *dev_instance) |
1148 | struct net_device *dev = (struct net_device *) dev_instance; | 1148 | { |
1149 | struct i596_private *lp; | 1149 | struct net_device *dev = dev_instance; |
1150 | struct i596_private *lp = dev->priv; | ||
1150 | unsigned short status, ack_cmd = 0; | 1151 | unsigned short status, ack_cmd = 0; |
1151 | int frames_in = 0; | 1152 | int frames_in = 0; |
1152 | 1153 | ||
1153 | lp = (struct i596_private *) dev->priv; | ||
1154 | |||
1155 | /* | 1154 | /* |
1156 | * The 82596 examines the command, performs the required action, | 1155 | * The 82596 examines the command, performs the required action, |
1157 | * and then clears the SCB command word. | 1156 | * and then clears the SCB command word. |