From: John W. Linville Date: Thu, 14 Apr 2011 14:38:22 +0000 (-0400) Subject: ath9k: avoid using trinary operator w/ TX_STAT_INC X-Git-Tag: v3.0-rc1~377^2~256^2^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfa8fc69d92f8418e1296d762f3b1624df59f0ac;p=pandora-kernel.git ath9k: avoid using trinary operator w/ TX_STAT_INC Otherwise, you get this: CC [M] drivers/net/wireless/ath/ath9k/hif_usb.o drivers/net/wireless/ath/ath9k/hif_usb.c: In function ‘ath9k_skb_queue_complete’: drivers/net/wireless/ath/ath9k/hif_usb.c:230:12: error: expected expression before ‘do’ make[2]: *** [drivers/net/wireless/ath/ath9k/hif_usb.o] Error 1 make[1]: *** [drivers/net/wireless/ath/ath9k] Error 2 make: *** [drivers/net/wireless/ath/] Error 2 The TX_STAT_INC macro should probably be changed to accomodate such usage, although using a trinary operator in place of an if-else seems questionable to me anyway. Signed-off-by: John W. Linville Acked-by: Sujith Manoharan --- Reading git-diff-tree failed