commit | 4789775477718983b6f8c604a809b950c6a10052 | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Sat Nov 03 21:30:21 2012 +0100 |
committer | Jan Kara <jack@suse.cz> | Thu Dec 13 16:33:24 2012 +0100 |
tree | 55c4cb49cca66be128475524eda10460ea0b4e19 | |
parent | 195c0f96f0f96da317e22c9851a7ecc1a541f9ad [diff] |
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 <Julia.Lawall@lip6.fr> Signed-off-by: Jan Kara <jack@suse.cz>