OSDN Git Service

brcmfmac: don't WARN when there are no requests
authorAdrian Ratiu <adrian.ratiu@collabora.com>
Wed, 25 Sep 2019 13:44:57 +0000 (16:44 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 1 Oct 2019 09:14:20 +0000 (12:14 +0300)
commit1524cbf3621576c639405e7aabeac415f9617c8d
tree8b8b2efc45f0925907098281c70a86d8dbc4f4bd
parent3f1b32bdbb0a0b4a20e56b220adee76ff29172e3
brcmfmac: don't WARN when there are no requests

When n_reqs == 0 there is nothing to do so it doesn't make sense to
search for requests and issue a warning because none is found.

Signed-off-by: Martyn Welch <martyn.welch@collabora.com>
Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pno.c