Skip to content

Commit

Permalink
staging: rtl8188eu: remove PWR_CMD_READ
Browse files Browse the repository at this point in the history
None of the power flows and transitions includes a read command.
PWR_CMD_READ can be removed.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210718173610.894-9-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Martin Kaiser authored and Greg Kroah-Hartman committed Jul 21, 2021
1 parent a5efd7b commit d950b47
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/rtl8188eu/hal/pwrseqcmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ u8 rtl88eu_pwrseqcmdparsing(struct adapter *padapter, struct wl_pwr_cfg pwrseqcm
pwrcfgcmd = pwrseqcmd[aryidx];

switch (GET_PWR_CFG_CMD(pwrcfgcmd)) {
case PWR_CMD_READ:
break;
case PWR_CMD_WRITE:
offset = GET_PWR_CFG_OFFSET(pwrcfgcmd);

Expand Down
1 change: 0 additions & 1 deletion drivers/staging/rtl8188eu/include/pwrseqcmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <drv_types.h>

/* The value of cmd: 4 bits */
#define PWR_CMD_READ 0x00
#define PWR_CMD_WRITE 0x01
#define PWR_CMD_POLLING 0x02
#define PWR_CMD_DELAY 0x03
Expand Down

0 comments on commit d950b47

Please sign in to comment.