diff options
| author | Julia Lawall <[email protected]> | 2012-11-03 20:30:21 +0000 |
|---|---|---|
| committer | Jan Kara <[email protected]> | 2012-12-13 15:33:24 +0000 |
| commit | 4789775477718983b6f8c604a809b950c6a10052 (patch) | |
| tree | 55c4cb49cca66be128475524eda10460ea0b4e19 /fs/proc/array.c | |
| parent | ext3: get rid of the duplicate code on ext3_fill_super (diff) | |
| download | kernel-4789775477718983b6f8c604a809b950c6a10052.tar.gz kernel-4789775477718983b6f8c604a809b950c6a10052.zip | |
ext3: drop if around WARN_ON
Just use WARN_ON rather than an if containing only WARN_ON(1).
A simplified version of the semantic patch that makes this transformation
is as follows: (http://coccinelle.lip6.fr/)
// <smpl>
@@
expression e;
@@
- if (e) WARN_ON(1);
+ WARN_ON(e);
// </smpl>
Signed-off-by: Julia Lawall <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
