Dmitry Antipov <dmantipov@xxxxxxxxx> writes: > According to Ping-Ke Shih, it may be unsafe to remove BB register reads > even if we don't interested in their values. OTOH such a reads may confuse > compilers (when the most strictness warning options are enabled) and/or > static analysis tools. So it may be helpful to convert related calls of > 'rtl_get_bbreg()' to 'void' and mark such a cases with special comment > just to make them easier to find and maybe even fix in the future. > > This is generally inspired by 6c75eab0417b9e5b05a18dbfc373e27a8ef876d8. > > Suggested-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> > Signed-off-by: Dmitry Antipov <dmantipov@xxxxxxxxx> "wifi:" missing from the title, see the wiki link below for more info. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches