Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);