]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/staging/tty/specialix.c: convert func_enter to func_exit
authorJulia Lawall <julia@diku.dk>
Wed, 23 Mar 2011 23:42:57 +0000 (16:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Mar 2011 02:46:39 +0000 (19:46 -0700)
commit0b460f59eb418bbcc1042537175aba8bc0aff663
tree2124bc65ab61f8e72b4bfd959970ccc2b8a90949
parent0cda581141ee987087f5ab9398968f94a05c1175
drivers/staging/tty/specialix.c: convert func_enter to func_exit

Convert calls to func_enter on leaving a function to func_exit.

The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
@@

- func_enter();
+ func_exit();
  return...;
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Cc: Roger Wolff <R.E.Wolff@BitWizard.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/staging/tty/specialix.c