]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wfx: drop useless update of macaddr
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Fri, 10 Apr 2020 13:32:39 +0000 (15:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Apr 2020 12:42:51 +0000 (14:42 +0200)
commit7a7da2874f9a0eb6eb688a3a3e66b3a6e9b31fbf
tree0ac6732518ca10b3ff543114d8a7cc071f8aa6b3
parentbe79633032e7d0c630de0392898716c2f25c9ea2
staging: wfx: drop useless update of macaddr

Mac address is set in wfx_add_interface() and removed in
wfx_remove_interface().

Currently, there is also an additional update of mac address in
wfx_do_unjoin(). It has no rationale. Mac address is already present
and nothing has changed it. Therefore, we can drop it.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200410133239.438347-20-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/sta.c