ath: Fix smatch warning
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Tue, 7 Oct 2014 04:44:36 +0000 (10:14 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 7 Oct 2014 18:48:37 +0000 (14:48 -0400)
commitd2a993e20e717a4ccbfa9a58b29362e4446208a0
tree563d1844a61d5dec5f7f2fa4f34fa04dc71d696a
parent79ee65659e116a49c81f63480a7672b7cbafa323
ath: Fix smatch warning

drivers/net/wireless/ath/main.c:88 ath_printk()
 error: we previously assumed 'common->hw' could be null (see line 82)

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/main.c