forked from Minki/linux
net: ath9k: Use NULL instead of false
The function returns a pointer. Hence return NULL instead of false. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
38e05a0e52
commit
5bb4101bc9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user