aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/i4l/isdn_net.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-06-25 17:58:35 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-25 19:24:56 -0400
commit3e206b0a66fcaf39dbef92640ce6a63d51fc5c53 (patch)
tree27e2941e1339be892b824434c24af518efd52294 /drivers/isdn/i4l/isdn_net.c
parent886cca3a0fda659e17c730c20929134014ebe1f2 (diff)
[PATCH] drivers/isdn/i4l/: possible cleanups
This patch contains the following possible cleanups: - make needlessly global code static - remove the following unused global function: - isdn_audio.c: isdn_audio_2adpcm_flush - remove the following unused struct: - isdn_net.c: isdn_concap_demand_dial_dops Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/isdn/i4l/isdn_net.c')
-rw-r--r--drivers/isdn/i4l/isdn_net.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/isdn/i4l/isdn_net.c b/drivers/isdn/i4l/isdn_net.c
index e2b790e34510..f30e8e63ae0d 100644
--- a/drivers/isdn/i4l/isdn_net.c
+++ b/drivers/isdn/i4l/isdn_net.c
@@ -176,7 +176,7 @@ static __inline__ void isdn_net_zero_frame_cnt(isdn_net_local *lp)
176 176
177/* Prototypes */ 177/* Prototypes */
178 178
179int isdn_net_force_dial_lp(isdn_net_local *); 179static int isdn_net_force_dial_lp(isdn_net_local *);
180static int isdn_net_start_xmit(struct sk_buff *, struct net_device *); 180static int isdn_net_start_xmit(struct sk_buff *, struct net_device *);
181 181
182static void isdn_net_ciscohdlck_connected(isdn_net_local *lp); 182static void isdn_net_ciscohdlck_connected(isdn_net_local *lp);
@@ -312,7 +312,7 @@ isdn_net_unbind_channel(isdn_net_local * lp)
312 * Since this function is called every second, simply reset the 312 * Since this function is called every second, simply reset the
313 * byte-counter of the interface after copying it to the cps-variable. 313 * byte-counter of the interface after copying it to the cps-variable.
314 */ 314 */
315unsigned long last_jiffies = -HZ; 315static unsigned long last_jiffies = -HZ;
316 316
317void 317void
318isdn_net_autohup(void) 318isdn_net_autohup(void)
@@ -1131,7 +1131,7 @@ isdn_net_adjust_hdr(struct sk_buff *skb, struct net_device *dev)
1131} 1131}
1132 1132
1133 1133
1134void isdn_net_tx_timeout(struct net_device * ndev) 1134static void isdn_net_tx_timeout(struct net_device * ndev)
1135{ 1135{
1136 isdn_net_local *lp = (isdn_net_local *) ndev->priv; 1136 isdn_net_local *lp = (isdn_net_local *) ndev->priv;
1137 1137
@@ -1424,7 +1424,7 @@ isdn_net_ciscohdlck_alloc_skb(isdn_net_local *lp, int len)
1424} 1424}
1425 1425
1426/* cisco hdlck device private ioctls */ 1426/* cisco hdlck device private ioctls */
1427int 1427static int
1428isdn_ciscohdlck_dev_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) 1428isdn_ciscohdlck_dev_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
1429{ 1429{
1430 isdn_net_local *lp = (isdn_net_local *) dev->priv; 1430 isdn_net_local *lp = (isdn_net_local *) dev->priv;
@@ -2461,7 +2461,7 @@ isdn_net_findif(char *name)
2461 * This is called from the userlevel-routine below or 2461 * This is called from the userlevel-routine below or
2462 * from isdn_net_start_xmit(). 2462 * from isdn_net_start_xmit().
2463 */ 2463 */
2464int 2464static int
2465isdn_net_force_dial_lp(isdn_net_local * lp) 2465isdn_net_force_dial_lp(isdn_net_local * lp)
2466{ 2466{
2467 if ((!(lp->flags & ISDN_NET_CONNECTED)) && !lp->dialstate) { 2467 if ((!(lp->flags & ISDN_NET_CONNECTED)) && !lp->dialstate) {