Commit 47eee2b3 authored by David S. Miller's avatar David S. Miller

[SHAPER]: Make shapers_registers actually visible to shaper_exit.

parent 83b67383
......@@ -697,12 +697,13 @@ __setup("shapers=", set_num_shapers);
static struct net_device *devs;
static unsigned int shapers_registered = 0;
static int __init shaper_init(void)
{
int i, err;
size_t alloc_size;
struct shaper *sp;
unsigned int shapers_registered = 0;
if (shapers < 1)
return -ENODEV;
......
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