diff options
Diffstat (limited to 'drivers/dahdi/xpp/xpp_usb.c')
-rw-r--r-- | drivers/dahdi/xpp/xpp_usb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dahdi/xpp/xpp_usb.c b/drivers/dahdi/xpp/xpp_usb.c index 7577901..ad83555 100644 --- a/drivers/dahdi/xpp/xpp_usb.c +++ b/drivers/dahdi/xpp/xpp_usb.c @@ -167,7 +167,7 @@ static struct xusb_counters { #define MAX_PENDING_WRITES 100 -static KMEM_CACHE_T *xusb_cache = NULL; +static KMEM_CACHE_T *xusb_cache; typedef struct xusb xusb_t; @@ -243,7 +243,7 @@ struct xusb { static DEFINE_SPINLOCK(xusb_lock); static xusb_t *xusb_array[MAX_BUSES] = {}; -static unsigned bus_count = 0; +static unsigned bus_count; /* prevent races between open() and disconnect() */ |