Skip to content

Commit

Permalink
[netdrvr] lp486e: fix typo
Browse files Browse the repository at this point in the history
inside #if 0'd code, but it bugged me.

Really, we should probably just delete the driver.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Jeff Garzik committed Sep 21, 2006
1 parent e478bec commit 8ce9090
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/lp486e.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,16 +442,16 @@ init_rx_bufs(struct net_device *dev, int num) {
if (rbd) {
rbd->pad = 0;
rbd->count = 0;
rbd->skb = dev_alloc_skb(RX_SKB_SIZE);
rbd->skb = dev_alloc_skb(RX_SKBSIZE);
if (!rbd->skb) {
printk("dev_alloc_skb failed");
}
rbd->next = rfd->rbd;
if (i) {
rfd->rbd->prev = rbd;
rbd->size = RX_SKB_SIZE;
rbd->size = RX_SKBSIZE;
} else {
rbd->size = (RX_SKB_SIZE | RBD_EL);
rbd->size = (RX_SKBSIZE | RBD_EL);
lp->rbd_tail = rbd;
}

Expand Down

0 comments on commit 8ce9090

Please sign in to comment.