summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192u
diff options
context:
space:
mode:
authorJohn Whitmore2018-10-07 23:40:17 +0200
committerGreg Kroah-Hartman2018-10-09 15:25:59 +0200
commitbff9df7d45d3b30e42657c9e48d46036941b5b6b (patch)
tree8bce125df483ea3d7b2d79e4b367ebedb0b2a8be /drivers/staging/rtl8192u
parentstaging:rtl8192u: Removed commented out include - Style (diff)
downloadkernel-qcow2-linux-bff9df7d45d3b30e42657c9e48d46036941b5b6b.tar.gz
kernel-qcow2-linux-bff9df7d45d3b30e42657c9e48d46036941b5b6b.tar.xz
kernel-qcow2-linux-bff9df7d45d3b30e42657c9e48d46036941b5b6b.zip
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>
Diffstat (limited to 'drivers/staging/rtl8192u')
-rw-r--r--drivers/staging/rtl8192u/ieee80211/ieee80211_module.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
index 270790a037c9..74643b1df73e 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
@@ -64,9 +64,9 @@ static inline int ieee80211_networks_allocate(struct ieee80211_device *ieee)
if (ieee->networks)
return 0;
- ieee->networks = kcalloc(
- MAX_NETWORK_COUNT, sizeof(struct ieee80211_network),
- GFP_KERNEL);
+ ieee->networks = kcalloc(MAX_NETWORK_COUNT,
+ sizeof(struct ieee80211_network),
+ GFP_KERNEL);
if (!ieee->networks) {
printk(KERN_WARNING "%s: Out of memory allocating beacons\n",
ieee->dev->name);