staging:rtl8192u: Clear error with line ending ( - Style
Rewrite function call to clear the checkpatch issue with lines ending with a '(' character. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore <johnfwhitmore@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
a631b95fee
Коммит
bff9df7d45
|
@ -64,9 +64,9 @@ static inline int ieee80211_networks_allocate(struct ieee80211_device *ieee)
|
||||||
if (ieee->networks)
|
if (ieee->networks)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
ieee->networks = kcalloc(
|
ieee->networks = kcalloc(MAX_NETWORK_COUNT,
|
||||||
MAX_NETWORK_COUNT, sizeof(struct ieee80211_network),
|
sizeof(struct ieee80211_network),
|
||||||
GFP_KERNEL);
|
GFP_KERNEL);
|
||||||
if (!ieee->networks) {
|
if (!ieee->networks) {
|
||||||
printk(KERN_WARNING "%s: Out of memory allocating beacons\n",
|
printk(KERN_WARNING "%s: Out of memory allocating beacons\n",
|
||||||
ieee->dev->name);
|
ieee->dev->name);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче