mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-14 05:12:17 +00:00
rt2x00: Fix Sparse warning
rt2x00link_reset_qual() is not declared in a header, and is only internally used within rt2x00link.c. It should be declared as static. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
440ddadaee
commit
a57e2e84b6
@ -387,7 +387,7 @@ void rt2x00link_reset_tuner(struct rt2x00_dev *rt2x00dev, bool antenna)
|
||||
rt2x00link_antenna_reset(rt2x00dev);
|
||||
}
|
||||
|
||||
void rt2x00link_reset_qual(struct rt2x00_dev *rt2x00dev)
|
||||
static void rt2x00link_reset_qual(struct rt2x00_dev *rt2x00dev)
|
||||
{
|
||||
struct link_qual *qual = &rt2x00dev->link.qual;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user