From: Martin Kaiser Date: Sun, 19 Dec 2021 18:39:24 +0000 (+0100) Subject: staging: r8188: remove unused power command X-Git-Tag: block-5.17-2022-01-21~32^2~130 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=ada58e3b5da9098226c3994ae91ff9c96390f324;p=linux-block.git staging: r8188: remove unused power command None of the remaining power transition steps used PWR_CMD_READ. It can be removed. Signed-off-by: Martin Kaiser Link: https://lore.kernel.org/r/20211219183926.4746-8-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/r8188eu/include/HalPwrSeqCmd.h b/drivers/staging/r8188eu/include/HalPwrSeqCmd.h index 1667a22f0ac4..49c02cce569e 100644 --- a/drivers/staging/r8188eu/include/HalPwrSeqCmd.h +++ b/drivers/staging/r8188eu/include/HalPwrSeqCmd.h @@ -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 */