Commit 5bb4101b authored by Sachin Kamat's avatar Sachin Kamat Committed by John W. Linville

net: ath9k: Use NULL instead of false

The function returns a pointer. Hence return NULL instead of false.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 38e05a0e
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment