diff options
Diffstat (limited to 'samples/kfifo')
-rw-r--r-- | samples/kfifo/dma-example.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/samples/kfifo/dma-example.c b/samples/kfifo/dma-example.c index 03433ca5bdad..3682278785f7 100644 --- a/samples/kfifo/dma-example.c +++ b/samples/kfifo/dma-example.c | |||
@@ -105,9 +105,7 @@ static int __init example_init(void) | |||
105 | 105 | ||
106 | static void __exit example_exit(void) | 106 | static void __exit example_exit(void) |
107 | { | 107 | { |
108 | #ifdef DYNAMIC | 108 | kfifo_free(&fifo); |
109 | kfifo_free(&test); | ||
110 | #endif | ||
111 | } | 109 | } |
112 | 110 | ||
113 | module_init(example_init); | 111 | module_init(example_init); |