From: Phillip Potter Date: Tue, 15 Jun 2021 00:14:58 +0000 (+0100) Subject: staging: rtl8188eu: remove all DBG_88E calls from hal/pwrseqcmd.c X-Git-Tag: v5.15~790^2~113 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=90da970c55c1e766e53f58eea3275cd385144744;p=platform%2Fkernel%2Flinux-starfive.git staging: rtl8188eu: remove all DBG_88E calls from hal/pwrseqcmd.c Remove all DBG_88E calls from hal/pwrseqcmd.c as this macro is unnecessary, and many of these calls are dubious in terms of necessity. Removing all calls will ultimately allow the removal of the macro itself. Signed-off-by: Phillip Potter Link: https://lore.kernel.org/r/20210615001507.1171-20-phil@philpotter.co.uk Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/hal/pwrseqcmd.c b/drivers/staging/rtl8188eu/hal/pwrseqcmd.c index 34784943..fb3b0f5 100644 --- a/drivers/staging/rtl8188eu/hal/pwrseqcmd.c +++ b/drivers/staging/rtl8188eu/hal/pwrseqcmd.c @@ -74,10 +74,8 @@ u8 rtl88eu_pwrseqcmdparsing(struct adapter *padapter, u8 cut_vers, else udelay(10); - if (poll_count++ > max_poll_count) { - DBG_88E("Fail to polling Offset[%#x]\n", offset); + if (poll_count++ > max_poll_count) return false; - } } while (!poll_bit); break; case PWR_CMD_DELAY: