Staging: vt6655: Fixing coding style warnings
Removes following warnings found by checkpatch.pl script: WARNING: Prefer using '"%s...", __func__' to using 'xxx', this function's name, in a string Signed-off-by: Simo Koskinen <koskisoft@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e708d2c740
commit
6f6752648a
@ -649,19 +649,19 @@ static unsigned short CARDwGetOFDMControlRate(struct vnt_private *priv,
|
||||
pr_debug("BASIC RATE: %X\n", priv->basic_rates);
|
||||
|
||||
if (!CARDbIsOFDMinBasicRate((void *)priv)) {
|
||||
pr_debug("CARDwGetOFDMControlRate:(NO OFDM) %d\n", wRateIdx);
|
||||
pr_debug("%s:(NO OFDM) %d\n", __func__, wRateIdx);
|
||||
if (wRateIdx > RATE_24M)
|
||||
wRateIdx = RATE_24M;
|
||||
return wRateIdx;
|
||||
}
|
||||
while (ui > RATE_11M) {
|
||||
if (priv->basic_rates & ((u32)0x1 << ui)) {
|
||||
pr_debug("CARDwGetOFDMControlRate : %d\n", ui);
|
||||
pr_debug("%s : %d\n", __func__, ui);
|
||||
return (unsigned short)ui;
|
||||
}
|
||||
ui--;
|
||||
}
|
||||
pr_debug("CARDwGetOFDMControlRate: 6M\n");
|
||||
pr_debug("%s: 6M\n", __func__);
|
||||
return (unsigned short)RATE_24M;
|
||||
}
|
||||
|
||||
|
@ -809,7 +809,7 @@ void MACvSetKeyEntry(struct vnt_private *priv, unsigned short wKeyCtl,
|
||||
if (byLocalID <= 1)
|
||||
return;
|
||||
|
||||
pr_debug("MACvSetKeyEntry\n");
|
||||
pr_debug("%s\n", __func__);
|
||||
offset = MISCFIFO_KEYETRY0;
|
||||
offset += (uEntryIdx * MISCFIFO_KEYENTRYSIZE);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user