diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2013-07-05 13:18:26 -0400 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2013-07-05 13:18:26 -0400 |
commit | b43e13d9190a165cd3a8b8e9e7221eb2a9cc73d7 (patch) | |
tree | 5d053102b8d3046b22e17d830607e244f4b63e5d /litmus/ftdev.c | |
parent | c1f183501ce70a510a4d9ab98595500904f33705 (diff) |
make it compilepgm
Diffstat (limited to 'litmus/ftdev.c')
-rw-r--r-- | litmus/ftdev.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/litmus/ftdev.c b/litmus/ftdev.c index 7126c61e8b4c..bd64287e4467 100644 --- a/litmus/ftdev.c +++ b/litmus/ftdev.c | |||
@@ -16,7 +16,6 @@ struct ft_buffer* alloc_ft_buffer(unsigned int count, size_t size) | |||
16 | struct ft_buffer* buf; | 16 | struct ft_buffer* buf; |
17 | size_t total = (size + 1) * count; | 17 | size_t total = (size + 1) * count; |
18 | char* mem; | 18 | char* mem; |
19 | int order = 0, pages = 1; | ||
20 | 19 | ||
21 | buf = kmalloc(sizeof(*buf), GFP_KERNEL); | 20 | buf = kmalloc(sizeof(*buf), GFP_KERNEL); |
22 | if (!buf) | 21 | if (!buf) |
@@ -42,9 +41,6 @@ struct ft_buffer* alloc_ft_buffer(unsigned int count, size_t size) | |||
42 | 41 | ||
43 | void free_ft_buffer(struct ft_buffer* buf) | 42 | void free_ft_buffer(struct ft_buffer* buf) |
44 | { | 43 | { |
45 | int order = 0, pages = 1; | ||
46 | size_t total; | ||
47 | |||
48 | if (buf) { | 44 | if (buf) { |
49 | vfree(buf->buffer_mem); | 45 | vfree(buf->buffer_mem); |
50 | kfree(buf); | 46 | kfree(buf); |