OSDN Git Service

Staging: wilc1000: coreconfigurator: Drop unneeded wrapper functions
authorShivani Bhardwaj <shivanib134@gmail.com>
Mon, 26 Oct 2015 14:46:32 +0000 (20:16 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 05:26:23 +0000 (14:26 +0900)
commitd4622f68db8095dd54179e3134e97812727f6b89
tree614ebf80947b61a8589939d8a012a052af6de628
parent9081987d4f1acc2af9f578e6ca8b10748b438be6
Staging: wilc1000: coreconfigurator: Drop unneeded wrapper functions

Replace the wrapper functions get_address1(), get_address2() and get_address3()
with the standard kernel function ether_addr_copy().
Semantic patch used to identify the issue:

@@
identifier f,g;
@@

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

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