Skip to content

Commit

Permalink
staging: r8188: remove unused power command
Browse files Browse the repository at this point in the history
None of the remaining power transition steps used PWR_CMD_READ.
It can be removed.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20211219183926.4746-8-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Martin Kaiser authored and Greg Kroah-Hartman committed Dec 20, 2021
1 parent d1d617f commit ada58e3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/staging/r8188eu/include/HalPwrSeqCmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@
/*---------------------------------------------*/
/* 3 The value of cmd: 4 bits */
/*---------------------------------------------*/
#define PWR_CMD_READ 0x00
/* offset: the read register offset */
/* msk: the mask of the read value */
/* value: N/A, left by 0 */
/* note: dirver shall implement this function by read & msk */

#define PWR_CMD_WRITE 0x01
/* offset: the read register offset */
Expand Down

0 comments on commit ada58e3

Please sign in to comment.