diff options
| author | Arnaldo Carvalho de Melo <acme@conectiva.com.br> | 2003-05-15 15:45:44 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@conectiva.com.br> | 2003-05-15 15:45:44 -0300 |
| commit | 706245bbc5a41fd887c3da129ca33f5446f79d21 (patch) | |
| tree | 56f4459718d9fe134c6655ebd57333c35b152852 /include | |
| parent | 652fb4118862e26bb820ddd08de8fcf7fd2a974f (diff) | |
o wan/cycx: fix module refcounting, removing MOD_{INC,DEC}_USE_COUNT
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/cyclomx.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/linux/cyclomx.h b/include/linux/cyclomx.h index 6e09c3670de0..a19aeebe7192 100644 --- a/include/linux/cyclomx.h +++ b/include/linux/cyclomx.h @@ -1,3 +1,5 @@ +#ifndef _CYCLOMX_H +#define _CYCLOMX_H /* * cyclomx.h Cyclom 2X WAN Link Driver. * User-level API definitions. @@ -21,8 +23,6 @@ * 1998/12/27 acme cleanup: PACKED not needed * 1998/08/08 acme Version 0.0.1 */ -#ifndef _CYCLOMX_H -#define _CYCLOMX_H #include <linux/config.h> #include <linux/wanrouter.h> @@ -47,7 +47,6 @@ struct cycx_device { char devname[WAN_DRVNAME_SZ+1]; /* card name */ cycxhw_t hw; /* hardware configuration */ struct wan_device wandev; /* WAN device data space */ - u32 open_cnt; /* number of open interfaces */ u32 state_tick; /* link state timestamp */ spinlock_t lock; char in_isr; /* interrupt-in-service flag */ @@ -72,8 +71,6 @@ struct cycx_device { }; /* Public Functions */ -void cyclomx_mod_inc_use_count(struct cycx_device *card); -void cyclomx_mod_dec_use_count(struct cycx_device *card); void cyclomx_set_state(struct cycx_device *card, int state); #ifdef CONFIG_CYCLOMX_X25 |
