]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188: remove sizes from power transition arrays
authorMartin Kaiser <martin@kaiser.cx>
Sun, 19 Dec 2021 18:39:19 +0000 (19:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Dec 2021 16:51:55 +0000 (17:51 +0100)
commitdaa01247012431f7ea404d093164a63011238a70
treee41eb41d819a8d8e0e9732b7c51059c3df028fcb
parenta4485019bad9ef0600c6e21bdcf6e93ab5cbf2be
staging: r8188: remove sizes from power transition arrays

There's no need to set the array size explicitly if an array is
initialized with a constant value. Remove the array sizes and
related definitions for the power transition arrays.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20211219183926.4746-3-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/Hal8188EPwrSeq.c
drivers/staging/r8188eu/include/Hal8188EPwrSeq.h