OSDN Git Service

Staging: wilc1000: coreconfigurator: Remove irrelevant wrapper function
authorShivani Bhardwaj <shivanib134@gmail.com>
Mon, 26 Oct 2015 14:51:05 +0000 (20:21 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 05:27:27 +0000 (14:27 +0900)
commita66907d10076a48d70adde1a78e46a8aa0c0857c
treeedc7f571b523dd137454f0b65c1cff2490a6f3b1
parentd4622f68db8095dd54179e3134e97812727f6b89
Staging: wilc1000: coreconfigurator: Remove irrelevant wrapper function

Remove the function get_current_channel() and replace its calls by
get_current_channel_802_11n() as the former function's definition
involves only returning the value of latter function.
Semantic patch used to find out the issue:

@@
identifier f,g;
@@

*f(...) {
 return g(...); }

Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/coreconfigurator.c