Commit 8ce90907 authored by Jeff Garzik's avatar Jeff Garzik

[netdrvr] lp486e: fix typo

inside #if 0'd code, but it bugged me.

Really, we should probably just delete the driver.
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent e478bec0
......@@ -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;
}
......
Markdown is supported
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