From: Sachin Kamat Date: Tue, 10 Sep 2013 06:20:36 +0000 (+0530) Subject: net: ath9k: Use NULL instead of false X-Git-Tag: v3.13-rc1~105^2~225^2~61 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5bb4101bc93a23dfcac508994378e975702e1abd;p=kernel%2Fkernel-generic.git net: ath9k: Use NULL instead of false The function returns a pointer. Hence return NULL instead of false. Signed-off-by: Sachin Kamat Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/dfs_pri_detector.c b/drivers/net/wireless/ath/ath9k/dfs_pri_detector.c index 5ba4b6f..c718fc3 100644 --- a/drivers/net/wireless/ath/ath9k/dfs_pri_detector.c +++ b/drivers/net/wireless/ath/ath9k/dfs_pri_detector.c @@ -392,7 +392,7 @@ static struct pri_sequence *pri_detector_add_pulse(struct pri_detector *de, if (!pseq_handler_create_sequences(de, ts, max_updated_seq)) { pri_detector_reset(de, ts); - return false; + return NULL; } ps = pseq_handler_check_detection(de);