Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141226
b: refs/heads/master
c: e8aa1bd
h: refs/heads/master
v: v3
  • Loading branch information
Andre Haupt authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent c28ce5f commit cacfb5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 705d300e1bcb5e2724690b6deb89fbfc453d790e
refs/heads/master: e8aa1bd0987bd66ae2a44c05cdacf5cea83b6d62
9 changes: 3 additions & 6 deletions trunk/drivers/staging/me4000/me4000.c
Original file line number Diff line number Diff line change
Expand Up @@ -546,15 +546,13 @@ static void clear_board_info_list(void)
&board_info->ao_context_list, list) {
me4000_ao_reset(ao_context);
free_irq(ao_context->irq, ao_context);
if (ao_context->circ_buf.buf)
kfree(ao_context->circ_buf.buf);
kfree(ao_context->circ_buf.buf);
list_del(&ao_context->list);
kfree(ao_context);
}

/* Clear analog input context */
if (board_info->ai_context->circ_buf.buf)
kfree(board_info->ai_context->circ_buf.buf);
kfree(board_info->ai_context->circ_buf.buf);
kfree(board_info->ai_context);

/* Clear digital I/O context */
Expand Down Expand Up @@ -3668,8 +3666,7 @@ static int me4000_ai_config(struct me4000_ai_config *arg,
tmp &=
~(ME4000_AI_CTRL_BIT_CHANNEL_FIFO | ME4000_AI_CTRL_BIT_SAMPLE_HOLD);

if (list)
kfree(list);
kfree(list);

return err;

Expand Down

0 comments on commit cacfb5e

Please sign in to comment.