]> git.baikalelectronics.ru Git - kernel.git/commit
ath/ath9k/ar9003_eeprom.c: Remove semicolon after if
authorPeter Senna Tschudin <peter.senna@gmail.com>
Wed, 10 Oct 2012 16:38:17 +0000 (18:38 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Oct 2012 19:53:02 +0000 (15:53 -0400)
commitec3d2d16c51adb1a2c04feef21635139ebe79ec4
treee3c3c1d106a4b4001b9b196a41c7f07a431076df
parente31b50fec95169ff10a84df5483e205ec10d0c79
ath/ath9k/ar9003_eeprom.c: Remove semicolon after if

This patch remove a semicolon after if(...) that is preventing the
error check to work correctly. Removing this semicolon will change the
code behavior, but this is intended.

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

// <smpl>
@r1@
position p;
@@
if (...);@p

@script:python@
p0 << r1.p;
@@
// Emacs org-mode output
cocci.print_main("", p0)
cocci.print_secs("", p0)
// </smpl>

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c