From: Sachin Kamat Date: Tue, 10 Sep 2013 06:20:36 +0000 (+0530) Subject: net: ath9k: Use NULL instead of false X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5bb4101bc93a23dfcac508994378e975702e1abd;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 5ba4b6fe37c0..c718fc379a10 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);