summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu
diff options
context:
space:
mode:
authorLuca Ceresoli2015-05-19 11:35:24 +0200
committerGreg Kroah-Hartman2015-05-31 05:01:37 +0200
commitcfaf917e6bb7e0eefa3cfdbba067221f87fdebce (patch)
tree9ff5d73049ff4fc4ddad41cd56beb86ce4ab730f /drivers/staging/rtl8188eu
parentstaging: rtl8188eu: add missing blank lines after declarations (diff)
downloadkernel-qcow2-linux-cfaf917e6bb7e0eefa3cfdbba067221f87fdebce.tar.gz
kernel-qcow2-linux-cfaf917e6bb7e0eefa3cfdbba067221f87fdebce.tar.xz
kernel-qcow2-linux-cfaf917e6bb7e0eefa3cfdbba067221f87fdebce.zip
staging: rtl8188eu: remove useless return value
The loadparam() function cannot fail, it's called only once and its return value is ignored there. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Cc: Greg Kroah-Hartman <gregkh@linux.com> Cc: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu')
-rw-r--r--drivers/staging/rtl8188eu/os_dep/os_intfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8188eu/os_dep/os_intfs.c b/drivers/staging/rtl8188eu/os_dep/os_intfs.c
index d396d595bd09..8828ef01499f 100644
--- a/drivers/staging/rtl8188eu/os_dep/os_intfs.c
+++ b/drivers/staging/rtl8188eu/os_dep/os_intfs.c
@@ -531,7 +531,7 @@ void rtw_proc_remove_one(struct net_device *dev)
}
#endif
-static uint loadparam(struct adapter *padapter, struct net_device *pnetdev)
+static void loadparam(struct adapter *padapter, struct net_device *pnetdev)
{
struct registry_priv *registry_par = &padapter->registrypriv;
@@ -601,7 +601,6 @@ static uint loadparam(struct adapter *padapter, struct net_device *pnetdev)
snprintf(registry_par->ifname, 16, "%s", ifname);
snprintf(registry_par->if2name, 16, "%s", if2name);
registry_par->notch_filter = (u8)rtw_notch_filter;
- return _SUCCESS;
}
static int rtw_net_set_mac_address(struct net_device *pnetdev, void *p)