]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wfx: remove useless defines
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Mon, 6 Apr 2020 11:17:50 +0000 (13:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Apr 2020 12:32:36 +0000 (14:32 +0200)
commit8904f64f2ee226d425b8b8fc5c3b74269df70335
tree35d50fca855e927a65c95f95a9e72536cdd0b22a
parentd35d93dc7b3e759f0b2772148d5a5ac4840ef9a5
staging: wfx: remove useless defines

Several values defined in hif API are only here to define length of some
arrays. In most cases, they do not provide any extra information about
the size of the array (ie. "API_FIRMWARE_LABEL_SIZE" is only used to
define the size of member "firmware_label").

Remove these useless definitions.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200406111756.154086-6-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/hif_api_general.h
drivers/staging/wfx/hif_api_mib.h