From: Julia Lawall Date: Sat, 3 Nov 2012 20:30:25 +0000 (+0100) Subject: drivers/net/wireless/ath/ath6kl/hif.c: drop if around WARN_ON X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~174^2^2~116 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3ec3bf527638b8efb576d1bdbaf8d66d1183f92;p=pandora-kernel.git drivers/net/wireless/ath/ath6kl/hif.c: 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/) // @@ expression e; @@ - if (e) WARN_ON(1); + WARN_ON(e); // Signed-off-by: Julia Lawall Signed-off-by: John W. Linville --- Reading git-diff-tree failed