staging: rtl8723bs: core: Change return type of init_mlme_ext_priv
authorHariprasad Kelam <hariprasad.kelam@gmail.com>
Mon, 15 Jul 2019 17:46:18 +0000 (23:16 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jul 2019 05:34:14 +0000 (07:34 +0200)
commit067756acdac8e0dd91edf4800e844fcb6e0cc72a
tree577406cd09a30ecbc4aeaa024eac3ad5c791a1af
parentb21f9b8352aa189e708c4ccfb5216b56880a1851
staging: rtl8723bs: core: Change return type of init_mlme_ext_priv

As init_mlme_ext_priv function always returns SUCCESS , We can change
return type from int to void.

Fixes below issue identified by coccicheck
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c:464:5-8: Unneeded
variable: "res". Return "_SUCCESS" on line 492

Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Link: https://lore.kernel.org/r/20190715174618.GA8947@hari-Inspiron-1545
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
drivers/staging/rtl8723bs/include/rtw_mlme_ext.h
drivers/staging/rtl8723bs/os_dep/os_intfs.c