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
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Reference in a new issue