mwifiex: key_material_v2 remove superfluous condition
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 31 Jul 2016 12:11:21 +0000 (14:11 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 3 Sep 2016 10:00:36 +0000 (13:00 +0300)
commitb0d80f19c14fc5752e806860fe2c702448f5b442
tree2e743ca113f00e19196dc118fcbbeef6b971f311
parent2f69e67058fbe9750a4f66ea30b4b6a8648a2fdc
mwifiex: key_material_v2 remove superfluous condition

We are using mac as source address in a memcpy.
In the lines below we can assume mac is not NULL.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/sta_cmd.c