staging: rtl8188eu: remove all DBG_88E calls from hal/pwrseqcmd.c
authorPhillip Potter <phil@philpotter.co.uk>
Tue, 15 Jun 2021 00:14:58 +0000 (01:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jun 2021 11:56:11 +0000 (13:56 +0200)
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 <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210615001507.1171-20-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/pwrseqcmd.c

index 3478494..fb3b0f5 100644 (file)
@@ -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: