patch-2.1.92 linux/drivers/isdn/pcbit/capi.c
Next file: linux/drivers/isdn/pcbit/drv.c
Previous file: linux/drivers/isdn/isdnloop/isdnloop.h
Back to the patch index
Back to the overall index
- Lines: 73
- Date:
Wed Apr 1 16:21:03 1998
- Orig file:
v2.1.91/linux/drivers/isdn/pcbit/capi.c
- Orig date:
Thu Feb 27 10:57:30 1997
diff -u --recursive --new-file v2.1.91/linux/drivers/isdn/pcbit/capi.c linux/drivers/isdn/pcbit/capi.c
@@ -147,9 +147,6 @@
return -1;
}
- SET_SKB_FREE((*skb));
-
-
*((ushort*) skb_put(*skb, 2) ) = chan->callref;
*(skb_put(*skb, 1)) = 0x01; /* ACCEPT_CALL */
*(skb_put(*skb, 1)) = 0;
@@ -170,8 +167,6 @@
return -1;
}
- SET_SKB_FREE((*skb));
-
*((ushort*) skb_put(*skb, 2) ) = chan->callref;
#ifdef DEBUG
@@ -200,8 +195,6 @@
return -1;
}
- SET_SKB_FREE((*skb));
-
*((ushort*) skb_put(*skb, 2) ) = chan->callref;
return 2;
@@ -222,8 +215,6 @@
return -1;
}
- SET_SKB_FREE((*skb));
-
*((ushort*) skb_put(*skb, 2) ) = chan->callref;
/* Layer2 protocol */
@@ -285,8 +276,6 @@
return -1;
}
- SET_SKB_FREE((*skb));
-
*((ushort*) skb_put(*skb, 2) ) = chan->callref;
@@ -338,8 +327,6 @@
return -1;
}
- SET_SKB_FREE((*skb));
-
*((ushort*) skb_put(*skb, 2) ) = chan->callref;
*(skb_put(*skb, 1)) = chan->layer2link;
@@ -357,8 +344,6 @@
return -1;
}
- SET_SKB_FREE((*skb));
-
*((ushort*) skb_put(*skb, 2) ) = callref;
*(skb_put(*skb, 1)) = 2; /* Cause.Length = 2; */
@@ -381,8 +366,6 @@
printk(KERN_WARNING "capi_disc_resp: alloc_skb failed\n");
return -1;
}
-
- SET_SKB_FREE((*skb));
*((ushort*) skb_put(*skb, 2)) = chan->callref;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov