summaryrefslogtreecommitdiffstats
path: root/fs/quota
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2012-11-03 21:30:21 +0100
committerJan Kara <jack@suse.cz>2012-12-13 16:33:24 +0100
commit4789775477718983b6f8c604a809b950c6a10052 (patch)
tree55c4cb49cca66be128475524eda10460ea0b4e19 /fs/quota
parentext3: get rid of the duplicate code on ext3_fill_super (diff)
downloadlinux-4789775477718983b6f8c604a809b950c6a10052.tar.xz
linux-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 <Julia.Lawall@lip6.fr> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/quota')
0 files changed, 0 insertions, 0 deletions